travis: run coveralls only after appropriate runs

Only run coveralls after test runs with coverage.

Inspiration: http://stackoverflow.com/questions/29082831/
This commit is contained in:
Tal Einat 2015-06-30 14:53:56 +03:00
parent b5c43ea602
commit 853d008c31
1 changed files with 3 additions and 1 deletions

View File

@ -16,4 +16,6 @@ env:
script:
- tox
after_success:
- coveralls
if [[ "TOXENV" ~= "with_coverage" ]]; then
coveralls
fi