diff --git a/.travis.yml b/.travis.yml index 0983027..f2c0298 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,8 @@ sudo: false env: global: - - CONDA_DEPENDENCIES="pytest numpy astropy" + - CONDA_DEPENDENCIES="pytest pytest-cov numpy astropy" + - PIP_DEPENDENCIES="coveralls" matrix: - PYTHON_VERSION=2.7 - PYTHON_VERSION=3.5 @@ -16,6 +17,9 @@ install: - python setup.py install script: - - python setup.py check --restructuredtext - - cd tests - - py.test --arraydiff + - python -c 'import pytest_arraydiff.plugin' + - pytest -vv --arraydiff --cov pytest_arraydiff tests + - pytest -vv --cov pytest_arraydiff --cov-append tests + +after_success: + - coveralls