Skip to content

Commit 72a2f7d

Browse files
committed
Replace nose with unittest in Travis CI script
And directly use coverage.py
1 parent c563b72 commit 72a2f7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ script:
3535
# Make sure we limit open handles to see if we are leaking them
3636
- ulimit -n 128
3737
- ulimit -n
38-
- nosetests -v --with-coverage
38+
- coverage run --omit="git/test/*" -m unittest --buffer
39+
- coverage report
3940
- if [ "$TRAVIS_PYTHON_VERSION" == '3.5' ]; then cd doc && make html; fi
4041
- if [ "$TRAVIS_PYTHON_VERSION" == '3.6' ]; then flake8 --ignore=W293,E265,E266,W503,W504,E731; fi
4142
after_success:

0 commit comments

Comments
 (0)