[travis] testing codecoverage

This commit is contained in:
mzwiessele 2015-10-01 07:31:20 +01:00
parent 60613ce891
commit 465d366740
2 changed files with 18 additions and 8 deletions

View file

@ -21,8 +21,6 @@ cache:
env:
- PYTHON_VERSION=2.7
- PYTHON_VERSION=3.3
- PYTHON_VERSION=3.4
- PYTHON_VERSION=3.5
before_install:
@ -59,11 +57,9 @@ install:
- conda install --yes python=$PYTHON_VERSION numpy=1.9 scipy=0.16 nose pip six;
- python -V
- python setup.py develop
before_script:
- cd $HOME
- mkdir empty
- cd empty
script:
- nosetests GPy.testing
- coverage run travis_testing.py
after_success:
- codecov

14
travis_tests.py Normal file
View file

@ -0,0 +1,14 @@
'''
Created on 30 Sep 2015
@author: Max Zwiessele
'''
#!/usr/bin/env python
import matplotlib
matplotlib.use('svg')
import nose
nose.main('applygpy', defaultTest='applygpy/tests')