File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1010env :
1111 global :
1212 - SETUP_XVFB=True
13- - CONDA_DEPENDENCIES="pytest matplotlib nose"
13+ - CONDA_DEPENDENCIES="pytest matplotlib nose coverage"
14+ - PIP_DEPENDENCIES="pytest-cov coveralls"
1415 matrix :
1516 - PYTHON_VERSION=2.6 MATPLOTLIB_VERSION=1.4 NUMPY_VERSION=1.9
1617 - PYTHON_VERSION=2.7 MATPLOTLIB_VERSION=1.4 NUMPY_VERSION=1.9
@@ -28,9 +29,12 @@ install:
2829 - git clone git://github.com/astropy/ci-helpers.git
2930 - source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh
3031
31- - python setup.py install
32+ # Need to use develop instead of install to make sure coverage works
33+ - python setup.py develop
3234
3335script :
3436 - python -c 'import pytest_mpl.plugin'
35- - cd tests
36- - py.test --mpl
37+ - py.test --mpl --cov pytest_mpl tests
38+
39+ after_success :
40+ - coveralls
You can’t perform that action at this time.
0 commit comments