From 697e8e66d4a491750988de1bd1cc611e261c8876 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Sun, 13 Apr 2014 23:56:35 +0200 Subject: [PATCH 1/2] Fix coverage config specification in nosetests invocation --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0e038f4c..7c557879 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,7 +64,7 @@ script: # Run all tests - if [[ $PYVER == '3.x' ]]; then - - nosetests --exe -v --with-doctest --with-cov --cov skimage --cov-config .coveragerc skimage + - nosetests --exe -v --with-doctest --with-cov --cov skimage --cov-config=.coveragerc skimage - fi - if [[ $PYVER == '2.x' ]]; then - nosetests --exe -v --with-doctest skimage From e3303dba548bdb4a30fcbb717b55aa228e6cc762 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Mon, 14 Apr 2014 00:27:39 +0200 Subject: [PATCH 2/2] Use coveralls instead of python-coveralls --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7c557879..98e5409f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,7 +48,7 @@ before_install: - pip install --use-mirrors six - pip install --use-mirrors nose-cov - - pip install --use-mirrors python-coveralls + - pip install --use-mirrors coveralls - python check_bento_build.py @@ -78,7 +78,7 @@ script: - flake8 --exit-zero --exclude=test_*,six.py skimage doc/examples viewer_examples after_success: - - if [[ $PYVER == '3.x' ]]; then - - coveralls - - fi + - if [[ $PYVER == '3.x' ]]; then + - coveralls + - fi