Fix test into docker
This commit is contained in:
parent
62150e1039
commit
1787d65703
1 changed files with 2 additions and 7 deletions
|
@ -12,8 +12,6 @@ matrix:
|
||||||
- language: python
|
- language: python
|
||||||
python:
|
python:
|
||||||
- "3.6"
|
- "3.6"
|
||||||
allow_failures:
|
|
||||||
- python: "3.6"
|
|
||||||
name: "Backend test for on-premise / python 3.6"
|
name: "Backend test for on-premise / python 3.6"
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get -y install software-properties-common
|
- sudo apt-get -y install software-properties-common
|
||||||
|
@ -45,8 +43,6 @@ matrix:
|
||||||
- language: python
|
- language: python
|
||||||
python:
|
python:
|
||||||
- "3.7-dev"
|
- "3.7-dev"
|
||||||
allow_failures:
|
|
||||||
- python: "3.7-dev"
|
|
||||||
name: "Backend test for on-premise / python 3.7-dev"
|
name: "Backend test for on-premise / python 3.7-dev"
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get -y install software-properties-common
|
- sudo apt-get -y install software-properties-common
|
||||||
|
@ -84,10 +80,9 @@ matrix:
|
||||||
- docker-compose pull
|
- docker-compose pull
|
||||||
- docker-compose build --pull
|
- docker-compose build --pull
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
|
- docker exec -it backend /bin/sh
|
||||||
|
- cd /opt/app
|
||||||
script:
|
script:
|
||||||
- cd server/
|
|
||||||
- ./wait-for-es
|
|
||||||
- alembic upgrade head
|
|
||||||
- py.test
|
- py.test
|
||||||
|
|
||||||
# ---- Frontend test ugins npm / nodejs 6 ----
|
# ---- Frontend test ugins npm / nodejs 6 ----
|
||||||
|
|
Reference in a new issue