diff options
author | Dan Schult <dschult@colgate.edu> | 2016-02-06 15:53:30 -0500 |
---|---|---|
committer | Dan Schult <dschult@colgate.edu> | 2016-02-06 23:50:43 -0500 |
commit | 8f439c82f038e85b19646ad2644151903ea124a6 (patch) | |
tree | 842b7bcd58a5cc5aed870d4c0db3f388eb1acee0 /.travis.yml | |
parent | 4f97eefff58d07d9de3aa301be9a1a023bd52a19 (diff) | |
download | networkx-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.yml | 5 |
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; |