diff --git a/.travis.yml b/.travis.yml index 1d13f3bc8..da29df69c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ matrix: before_script: - pip install -r requirements/requirements-extras.txt - pip install mpi4py - script: mpiexec -n 1 python -m mpi4py.futures -m nose --with-coverage --cover-package=elephant + script: mpiexec -n 1 python -m mpi4py.futures -m pytest --cov=elephant --import-mode=importlib after_success: coveralls || echo "coveralls failed" - name: "conda 3.7" @@ -62,7 +62,7 @@ install: - pip -V - pip install -r requirements/requirements-tests.txt - - pip install coverage coveralls + - pip install pytest-cov coveralls - python setup.py install - python -c "import sys; sys.path.remove(''); import elephant; print(elephant.__file__)" - python -c "import sys; sys.path.remove(''); from elephant.spade import HAVE_FIM; assert HAVE_FIM" @@ -70,4 +70,4 @@ install: - python --version script: - nosetests --with-coverage --cover-package=elephant + pytest --cov=elephant --import-mode=importlib diff --git a/requirements/requirements-tests.txt b/requirements/requirements-tests.txt index 26392a26d..55b033e90 100644 --- a/requirements/requirements-tests.txt +++ b/requirements/requirements-tests.txt @@ -1 +1 @@ -nose>=1.3.3 +pytest \ No newline at end of file