.travis/after_success.sh: upload combined coverage data to codecov.io for each build

Previously we were using a separate Travis build that only run coverage with a single Python version (3.5).
Now, we run coverage with all python versions, and upload a combined coverage data to Codecov.io.
This commit is contained in:
Cosimo Lupo 2016-12-26 13:50:12 +00:00
parent 454f60f7b6
commit 17706a4f94
No known key found for this signature in database
GPG Key ID: B61AAAD0B53A6419

7
.travis/after_success.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
set -e
set -x
# upload coverage data to Codecov.io
[[ ${TOXENV} == *"-cov"* ]] && python -m tox -e codecov