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:
parent
b5c43ea602
commit
853d008c31
|
@ -16,4 +16,6 @@ env:
|
|||
script:
|
||||
- tox
|
||||
after_success:
|
||||
- coveralls
|
||||
if [[ "TOXENV" ~= "with_coverage" ]]; then
|
||||
coveralls
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue