From c9de69afd1196cd9518eb4bb58937cf0cda4f771 Mon Sep 17 00:00:00 2001 From: Samuel Havron Date: Sun, 11 Dec 2016 17:05:09 -0500 Subject: [PATCH] small edit --- .travis.yml | 1 + docker-compose.yml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index c1e71c5..8588092 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,7 @@ install: # prepare mySQL database - sudo pip install coveralls before_script: - docker-compose up -d + - sleep 45 script: # using first instance of each app server diff --git a/docker-compose.yml b/docker-compose.yml index 5c28c09..3265cf8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -87,7 +87,7 @@ web0: # PORT 8030 - ./web/:/app ports: - "8030:8000" - command: bash -c "pip install -r requirements.txt && python manage.py collectstatic --noinput && mod_wsgi-express start-server --reload-on-changes ./web/wsgi.py && python manage.py test" + command: bash -c "pip install -r requirements.txt && python manage.py collectstatic --noinput && mod_wsgi-express start-server --reload-on-changes ./web/wsgi.py" container_name: web0 environment: - SELENIUM_HOST=http://selenium:4444/wd/hub @@ -102,7 +102,7 @@ web1: # PORT 8031 - ./web/:/app ports: - "8031:8000" - command: bash -c "pip install -r requirements.txt && python manage.py collectstatic --noinput && mod_wsgi-express start-server --reload-on-changes ./web/wsgi.py && python manage.py test" + command: bash -c "pip install -r requirements.txt && python manage.py collectstatic --noinput && mod_wsgi-express start-server --reload-on-changes ./web/wsgi.py" container_name: web1 environment: - SELENIUM_HOST=http://selenium:4444/wd/hub @@ -117,7 +117,7 @@ web2: # PORT 8032 - ./web/:/app ports: - "8032:8000" - command: bash -c "pip install -r requirements.txt && python manage.py collectstatic --noinput && mod_wsgi-express start-server --reload-on-changes ./web/wsgi.py && python manage.py test" + command: bash -c "pip install -r requirements.txt && python manage.py collectstatic --noinput && mod_wsgi-express start-server --reload-on-changes ./web/wsgi.py" container_name: web2 environment: - SELENIUM_HOST=http://selenium:4444/wd/hub