Skip to content

Commit aa62bea

Browse files
committed
Don't use nose anymore (use pytest)
Also, we really need to switch to GithubActions soon!
1 parent da81b1e commit aa62bea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,13 @@ install:
2525
# To skip pypy: - if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then DOSTUFF ; fi
2626
script:
2727
- export MAJOR_PYTHON_VERSION=`echo $TRAVIS_PYTHON_VERSION | cut -c 1`
28-
- coverage run --source=toolz $(which nosetests)
29-
--with-doctest toolz/
28+
- coverage run --source=toolz $(which pytest)
29+
--doctest-modules toolz/
3030
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coverage report --show-missing --fail-under=100 ; fi
3131
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pep8 --ignore=$PEP8_IGNORE --exclude=conf.py,tests,examples,bench -r --show-source . ; fi
3232
# For convenience, make sure simple test commands work
3333
- python setup.py develop
34-
- py.test
35-
- nosetests
34+
- pytest
3635

3736
# load coverage status to https://coveralls.io
3837
after_success:

0 commit comments

Comments
 (0)