Skip to content

Commit 91d5541

Browse files
gfyoungjreback
authored andcommitted
TST: Use pytest instead of nose (#310)
1 parent e5da35f commit 91d5541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ install:
3030
- conda update -q conda
3131
# Useful for debugging any issues with conda
3232
- conda info -a
33-
- conda create -q -n test-environment python=$PYTHON pandas=$PANDAS nose coverage setuptools html5lib lxml
33+
- conda create -q -n test-environment python=$PYTHON pandas=$PANDAS nose coverage setuptools html5lib lxml pytest pytest-cov
3434
- source activate test-environment
3535
- pip install beautifulsoup4
3636
- if [[ "$PYTHON" == "2.6" ]]; then
@@ -42,7 +42,7 @@ install:
4242

4343
script:
4444
- export ENIGMA_API_KEY=$ENIGMA_API_KEY
45-
- nosetests -v --with-coverage --cover-package=pandas_datareader
45+
- pytest -s --cov=pandas_datareader --cov-report xml:/tmp/cov-datareader.xml --junitxml=/tmp/datareader.xml
4646
- flake8 --version
4747
- flake8 --ignore E501 pandas_datareader
4848

0 commit comments

Comments
 (0)