GPy/.travis.yml

50 lines
966 B
YAML
Raw Normal View History

sudo: false
2015-09-12 13:08:57 +01:00
os:
- linux
2015-09-12 17:15:02 +01:00
- osx
2015-09-12 13:55:10 +01:00
2015-09-12 17:15:02 +01:00
#language: python
2015-09-12 13:59:56 +01:00
#addons:
# apt:
# packages:
# - gfortran
# - libatlas-dev
# - libatlas-base-dev
# - liblapack-dev
2015-09-12 17:25:39 +01:00
env:
- PYTHON_VERSION=2.7
- PYTHON_VERSION=3.3
- PYTHON_VERSION=3.4
2013-09-09 13:29:53 +01:00
2013-09-09 13:33:54 +01:00
before_install:
2015-09-12 17:32:40 +01:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
2015-09-12 17:33:46 +01:00
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -O miniconda.sh
else;
exit 1
fi
2015-09-12 13:50:34 +01:00
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
2015-09-12 14:23:08 +01:00
# - conda update --yes conda
2015-09-12 13:50:34 +01:00
2013-09-09 13:29:53 +01:00
install:
2015-09-12 17:25:39 +01:00
- conda install --yes python=$PYTHON_VERSION numpy=1.9 scipy=0.16 nose pip six
- pip install .
2015-09-12 17:15:02 +01:00
before_script:
- cd $HOME
- mkdir empty
- cd empty
2015-09-12 17:15:02 +01:00
script:
2015-09-12 14:26:42 +01:00
- nosetests GPy.testing
cache:
directories:
- $HOME/.cache/pip