changeup where we're calling coveralls since we lose our running container in the before_cache phase. It is a bit more garbagy, but having coverage reports is better than not having them.
@@ -37,10 +37,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
+ - docker-compose exec twlight /venv/bin/coveralls
# Report on test coverage and push to production if the conditions are met.
after_success:
- .travis/./deploy.sh
- sudo service docker start
- - docker-compose exec twlight /venv/bin/coveralls
- .travis/./docker_push.sh
