summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDan Schult <dschult@colgate.edu>2016-02-06 15:53:30 -0500
committerDan Schult <dschult@colgate.edu>2016-02-06 23:50:43 -0500
commit8f439c82f038e85b19646ad2644151903ea124a6 (patch)
tree842b7bcd58a5cc5aed870d4c0db3f388eb1acee0 /.travis.yml
parent4f97eefff58d07d9de3aa301be9a1a023bd52a19 (diff)
downloadnetworkx-8f439c82f038e85b19646ad2644151903ea124a6.tar.gz
nose-ignore-docstrings makes nose report filename
nose reports test names as file.function unless there is a docstring. This change makes nose ignore the docstrings and always report the file.function
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 72976c91..0f1b7205 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -113,6 +113,7 @@ install:
fi
- if [[ "${PYTHON_VM}" != ipy ]]; then
pip install --upgrade nose coverage coveralls;
+ pip install nose-ignore-docstring;
fi
script:
@@ -144,9 +145,9 @@ script:
# Run nosetests.
- if [[ "${PYTHON_VM}" != ipy ]]; then
if [[ "${PYTHON_VM}" == pypy ]]; then
- nosetests --verbosity=2;
+ nosetests --verbosity=2 --with-ignore-docstrings;
else
- nosetests --verbosity=2 --with-coverage --cover-package=networkx;
+ nosetests --verbosity=2 --with-ignore-docstrings --with-coverage --cover-package=networkx;
fi;
else
mono "${IPY}" -X:ExceptionDetail -X:FullFrames -c 'from nose import main; main()' \--verbosity=2;