Skip to content

Commit

Permalink
HOTFIX: travis-ci runs coveralls, doesn't care
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnshrmn committed Sep 29, 2021
1 parent 9c7905f commit 936e5f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ script:
# Run tests
- if [ "${TRAVIS_EVENT_TYPE}" != "cron" ]; then docker-compose exec twlight /app/bin/virtualenv_test.sh; fi
# Submit test coverage report to coveralls
# TODO: Uncomment this once coveralls is back online
# - if [ "${TRAVIS_EVENT_TYPE}" != "cron" ] && [ -n "${TRAVIS_BRANCH+isset}" ] && [ -n "${TRAVIS_JOB_ID+isset}" ] && [ -n "${COVERALLS_REPO_TOKEN+isset}" ]; then docker-compose exec -e COVERALLS_REPO_TOKEN -e TRAVIS_JOB_ID -e TRAVIS_BRANCH twlight /venv/bin/coveralls; fi
- if [ "${TRAVIS_EVENT_TYPE}" != "cron" ] && [ -n "${TRAVIS_BRANCH+isset}" ] && [ -n "${TRAVIS_JOB_ID+isset}" ] && [ -n "${COVERALLS_REPO_TOKEN+isset}" ]; then docker-compose exec -e COVERALLS_REPO_TOKEN -e TRAVIS_JOB_ID -e TRAVIS_BRANCH twlight /venv/bin/coveralls ||:; fi

# Deploy changes if the conditions are met.
# Skip this steps if the job was fired by cron
Expand Down

0 comments on commit 936e5f5

Please sign in to comment.