From bd0d0e18e52d06144d12d2516924c1d279aed682 Mon Sep 17 00:00:00 2001 From: gfyoung Date: Sun, 7 May 2017 17:15:44 -0400 Subject: [PATCH] TST: Use pytest instead of nose --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3e2a9847..b2ad2c17 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,7 @@ install: - conda update -q conda # Useful for debugging any issues with conda - conda info -a - - conda create -q -n test-environment python=$PYTHON pandas=$PANDAS nose coverage setuptools html5lib lxml + - conda create -q -n test-environment python=$PYTHON pandas=$PANDAS nose coverage setuptools html5lib lxml pytest pytest-cov - source activate test-environment - pip install beautifulsoup4 - if [[ "$PYTHON" == "2.6" ]]; then @@ -42,7 +42,7 @@ install: script: - export ENIGMA_API_KEY=$ENIGMA_API_KEY - - nosetests -v --with-coverage --cover-package=pandas_datareader + - pytest -s --cov=pandas_datareader --cov-report xml:/tmp/cov-datareader.xml --junitxml=/tmp/datareader.xml - flake8 --version - flake8 --ignore E501 pandas_datareader