Merge pull request #846 from stefanv/coverage-oneversiononly

Only run coverage for Python 3.

This should make Coveralls output more sane.
This commit is contained in:
Juan Nunez-Iglesias
2014-02-13 09:40:04 +11:00
+10 -3
View File
@@ -63,8 +63,12 @@ script:
- "echo 'backend.qt4 : PyQt4' >> $HOME/.matplotlib/matplotlibrc"
# Run all tests
- nosetests --exe -v --with-doctest --with-cov --cov skimage --cov-config .coveragerc skimage
- if [[ $PYVER == '3.x' ]]; then
- 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
- fi
# Run all doc examples
- export PYTHONPATH=$(pwd):$PYTHONPATH
- for f in doc/examples/*.py; do $PYTHON "$f"; if [ $? -ne 0 ]; then exit 1; fi done
@@ -74,4 +78,7 @@ script:
- flake8 --exit-zero --exclude=test_*,six.py skimage doc/examples viewer_examples
after_success:
- coveralls
- if [[ $PYVER == '3.x' ]]; then
- coveralls
- fi