Merge pull request #1269 from blink1073/test-all-modules

Test all modules (including those starting with underscores), and always doctest on Travis
This commit is contained in:
Juan Nunez-Iglesias
2014-12-13 13:04:52 +11:00
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -27,6 +27,7 @@ before_install:
- sh -e /etc/init.d/xvfb start
- export PYTHONWARNINGS="all"
- export WHEELHOUSE="--no-index --find-links=http://travis-wheels.scikit-image.org/"
- export TEST_ARGS="--exe --ignore-files=^_test -v --with-doctest --ignore-files=^setup.py$"
- sudo apt-get update
- travis_retry tools/travis_setup.sh
@@ -46,7 +47,7 @@ install:
script:
- tools/header.py "Run all tests with minimum dependencies"
- nosetests --exe -v skimage
- nosetests $TEST_ARGS skimage
- tools/header.py "Pep8 and Flake tests"
- flake8 --exit-zero --exclude=test_*,six.py skimage doc/examples viewer_examples
-1
View File
@@ -40,7 +40,6 @@ 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'
if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then
TEST_ARGS="$TEST_ARGS --with-cov --cover-package skimage"
fi