Skip to content

Commit a553355

Browse files
committed
use a test script
1 parent 7956e0a commit a553355

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ before_install:
2424
- ./miniconda.sh -b -p $HOME/miniconda
2525
- export PATH="$HOME/miniconda/bin:$PATH"
2626
- conda update --yes conda
27-
- cp probscale/tests/matplotlibrc .
2827

2928
install:
3029

@@ -33,13 +32,12 @@ install:
3332

3433
- conda create --yes -n test python=$TRAVIS_PYTHON_VERSION
3534
- source activate test
36-
#- conda config --add channels phobson
3735
- conda install --yes numpy nose scipy matplotlib coverage docopt requests pyyaml
3836
- pip install coveralls
3937
- pip install .
4038

4139
script:
42-
- nosetests --with-coverage --cover-package=probscale --verbose
40+
- python check_probscale.py --with-coverage --cover-package=probscale --verbose
4341

4442
after_success:
4543
- if [ ${COVERAGE} = true ]; then coveralls; fi

check_probscale.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import matplotlib
2+
matplotlib.use('agg')
3+
4+
import nose
5+
nose.main()

0 commit comments

Comments
 (0)