diff options
author | Daniel Hahler <git@thequod.de> | 2019-03-31 14:20:32 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2019-03-31 14:20:32 +0200 |
commit | 97624f0d56de1dca53777ce023317731382c2868 (patch) | |
tree | e9e34f8a9b2f2ca7b5eef196bc255706576a197e | |
parent | aaa4fe4d22a06716d61ea019bdec0966f31890b5 (diff) | |
download | python-coveragepy-git-97624f0d56de1dca53777ce023317731382c2868.tar.gz |
ci: Travis: use after_script
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 27ab17d9..8b7840b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,11 @@ install: script: - tox - - if [[ $COVERAGE_COVERAGE == 'yes' ]]; then python igor.py combine_html; fi - - if [[ $COVERAGE_COVERAGE == 'yes' ]]; then pip install codecov; fi - - if [[ $COVERAGE_COVERAGE == 'yes' ]]; then codecov -X gcov --file coverage.xml; fi + +after_script: + - | + if [[ $COVERAGE_COVERAGE == 'yes' ]]; then + python igor.py combine_html + pip install codecov + codecov -X gcov --file coverage.xml + fi |