GPy/.travis.yml

28 lines
803 B
YAML
Raw Normal View History

language: python
python:
- "2.7"
2013-01-31 13:38:24 +00:00
#Set virtual env with system-site-packages to true
virtualenv:
system_site_packages: true
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
2013-01-31 13:38:24 +00:00
before_install:
- sudo apt-get install -qq python-scipy python-pip
2013-01-31 13:43:37 +00:00
- sudo apt-get install -qq python-matplotlib
2013-06-04 11:52:48 +01:00
# Workaround for a permissions issue with Travis virtual machine images
# that breaks Python's multiprocessing:
# https://github.com/travis-ci/travis-cookbooks/issues/155
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
2013-01-31 13:43:37 +00:00
install:
- pip install --upgrade numpy==1.7.1
2014-11-21 15:21:13 +00:00
- pip install --upgrade scipy==0.12
2013-01-31 13:43:37 +00:00
- pip install sphinx
- pip install nose
2014-11-21 15:21:13 +00:00
- pip install .
2013-01-31 13:43:37 +00:00
# command to run tests, e.g. python setup.py test
script:
- nosetests GPy/testing