Testing: Use pytest in Travis
@@ -4,14 +4,13 @@ sudo: false
env:
global:
- - CONDA_DEPENDENCIES='pyqt traitlets ipython_genutils jupyter_core jupyter_client pygments ipykernel nose'
+ - CONDA_DEPENDENCIES='pyqt traitlets ipython_genutils jupyter_core jupyter_client pygments ipykernel pytest pytest-cov'
- PIP_DEPENDENCIES='coveralls'
matrix:
include:
- python: "3.6"
- python: "3.5"
- - python: "3.4"
- python: "2.7"
env: PIP_DEPENDENCIES="coveralls mock"
@@ -20,7 +19,7 @@ install:
- source ci-helpers/travis/setup_conda.sh
script:
- - nosetests --with-coverage --cover-package qtconsole qtconsole
+ - pytest -x -vv --cov=qtconsole qtconsole
after_success:
- coveralls
