Dapid's travis changes

There was a conflict and I only had access to the web interface.
This commit is contained in:
Max Zwiessele 2015-09-12 13:03:52 +01:00
parent a14dd29246
commit bf552a09f7

View file

@ -1,27 +1,39 @@
language: python sudo: false
python:
- "2.7" language: python
addons:
apt:
packages:
- gfortran
- libatlas-dev
- libatlas-base-dev
- liblapack-dev
python:
- 2.7
- 3.3
- 3.4
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
before_install: before_install:
#Install a mini version of anaconda such that we can easily install our dependencies - uname -a
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh - free -m
- chmod +x miniconda.sh - df -h
- ./miniconda.sh -b - ulimit -a
- export PATH=/home/travis/miniconda/bin:$PATH - pip install -U pip wheel setuptools
- conda update --yes conda - pip install numpy cython nose six matplotlib
# Workaround for a permissions issue with Travis virtual machine images - pip install -v -U scipy
# that breaks Python's multiprocessing: - python -V
# https://github.com/travis-ci/travis-cookbooks/issues/155
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
install: install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION atlas numpy=1.9 scipy=0.16 matplotlib nose sphinx pip nose - pip install .
#- pip install .
- python setup.py build_ext --inplace
#--use-mirrors
#
# command to run tests, e.g. python setup.py test
script: script:
- nosetests GPy/testing - cd $HOME
- mkdir empty
- cd empty
- nosetests GPy
cache:
directories:
- $HOME/.cache/pip