Do not test or cover the external libraries directly

This commit is contained in:
Steven Silvester
2014-10-16 03:20:09 -05:00
parent a3c8ce32ac
commit 284cdd0bca
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ source = skimage
include = */skimage/*
omit =
*/setup.py
*/skimage/io/_plugins/tifffile.py
*/skimage/external/*
[report]
exclude_lines =
+3 -4
View File
@@ -40,10 +40,9 @@ echo 'backend.qt4 : '$MPL_QT_API >> $MPL_DIR/matplotlibrc
tools/header.py "Run tests with all dependencies"
# run tests again with optional dependencies to get more coverage
TEST_ARGS='--exe -v --with-doctest --ignore-files="skimage/external/*"'
if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then
export TEST_ARGS="--with-cov --cover-package skimage"
else
export TEST_ARGS=""
TEST_ARGS="$TEST_ARGS --with-cov --cover-package skimage"
fi
nosetests --exe -v --with-doctest $TEST_ARGS
nosetests $TEST_ARGS