mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
Another attempt by installing a mini version of anaconda, should be easier to maintain
This commit is contained in:
parent
7a525df3ac
commit
39e394c015
1 changed files with 11 additions and 12 deletions
23
.travis.yml
23
.travis.yml
|
|
@ -2,14 +2,14 @@ language: python
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
|
|
||||||
#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
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get install -qq python-scipy python-pip
|
#Install a mini version of anaconda such that we can easily install our dependencies
|
||||||
- sudo apt-get install -qq python-matplotlib
|
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
|
||||||
|
- chmod +x miniconda.sh
|
||||||
|
- ./miniconda.sh -b
|
||||||
|
- export PATH=/home/travis/miniconda/bin:$PATH
|
||||||
|
- conda update --yes conda
|
||||||
# Workaround for a permissions issue with Travis virtual machine images
|
# Workaround for a permissions issue with Travis virtual machine images
|
||||||
# that breaks Python's multiprocessing:
|
# that breaks Python's multiprocessing:
|
||||||
# https://github.com/travis-ci/travis-cookbooks/issues/155
|
# https://github.com/travis-ci/travis-cookbooks/issues/155
|
||||||
|
|
@ -17,11 +17,10 @@ before_install:
|
||||||
- sudo ln -s /run/shm /dev/shm
|
- sudo ln -s /run/shm /dev/shm
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install --upgrade numpy==1.7.1
|
- conda install --yes python=$TRAVIS_PYTHON_VERSION atlas numpy=1.7 scipy=0.12 matplotlib nose sphinx pip nose
|
||||||
- pip install --upgrade scipy==0.12
|
- pip install .
|
||||||
- pip install sphinx
|
#--use-mirrors
|
||||||
- pip install nose
|
#
|
||||||
- pip install .
|
|
||||||
# command to run tests, e.g. python setup.py test
|
# command to run tests, e.g. python setup.py test
|
||||||
script:
|
script:
|
||||||
- nosetests GPy/testing
|
- nosetests GPy/testing
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue