Update .travis.yml
Fire docker back up in the same phase that it gets killed in travis.
@@ -14,6 +14,7 @@ cache:
before_cache:
- sudo service docker stop
- sudo chown -R travis ${HOME}/docker
+ - sudo service docker start
python:
- 2.7
@@ -37,10 +38,10 @@ script:
- docker-compose exec twlight /app/bin/virtualenv_migrate.sh
- docker-compose exec twlight /app/bin/virtualenv_translate.sh last-commit
- docker-compose exec twlight /app/bin/virtualenv_test.sh
+# Report test coverage.
- docker-compose exec twlight /venv/bin/coveralls
-# Report on test coverage and push to production if the conditions are met.
+# Push to production if the conditions are met.
after_success:
- .travis/./deploy.sh
- - sudo service docker start
- .travis/./docker_push.sh
