mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 16:16:43 +08:00
Do not test or cover the external libraries directly
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ source = skimage
|
||||
include = */skimage/*
|
||||
omit =
|
||||
*/setup.py
|
||||
*/skimage/io/_plugins/tifffile.py
|
||||
*/skimage/external/*
|
||||
|
||||
[report]
|
||||
exclude_lines =
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user