summaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2015-08-08 01:55:46 +0200
committerThomas Waldmann <tw@waldmann-edv.de>2015-08-08 18:31:41 +0200
commit5864bd76ebc2985f82fd49d69aa58895cb0698a8 (patch)
treee6835381254f9832098dd5265e7ece744a6a49ed /.travis
parentba753563141d4cf2ecf0beb141cf37d1538bb0e3 (diff)
fix test coverage / codecov.io, use xcode6.4
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/install.sh2
-rwxr-xr-x.travis/upload_coverage.sh3
2 files changed, 3 insertions, 2 deletions
diff --git a/.travis/install.sh b/.travis/install.sh
index 21ff76000..80b39226f 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -39,5 +39,5 @@ fi
python -m virtualenv ~/.venv
source ~/.venv/bin/activate
-pip install tox pytest codecov Cython
+pip install tox pytest pytest-cov codecov Cython
pip install -e .
diff --git a/.travis/upload_coverage.sh b/.travis/upload_coverage.sh
index 73584acfb..c2aa91bd2 100755
--- a/.travis/upload_coverage.sh
+++ b/.travis/upload_coverage.sh
@@ -6,5 +6,6 @@ set -x
NO_COVERAGE_TOXENVS=(pep8)
if ! [[ "${NO_COVERAGE_TOXENVS[*]}" =~ "${TOXENV}" ]]; then
source ~/.venv/bin/activate
- bash <(curl -s https://codecov.io/bash) -e TRAVIS_OS_NAME,TOXENV
+ ln .tox/.coverage .coverage
+ codecov -e TRAVIS_OS_NAME,TOXENV
fi