mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
[travis] testing codecoverage
This commit is contained in:
parent
60613ce891
commit
465d366740
2 changed files with 18 additions and 8 deletions
12
.travis.yml
12
.travis.yml
|
|
@ -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
14
travis_tests.py
Normal 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')
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue