mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-12 05:22:38 +02:00
Update .travis.yml
This commit is contained in:
parent
809ca36b4f
commit
8b1c196d35
1 changed files with 14 additions and 9 deletions
23
.travis.yml
23
.travis.yml
|
|
@ -2,7 +2,7 @@ sudo: false
|
|||
|
||||
os:
|
||||
- osx
|
||||
# - linux
|
||||
- linux
|
||||
|
||||
#language: python
|
||||
|
||||
|
|
@ -21,23 +21,28 @@ env:
|
|||
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
|
||||
export OS=Linux;
|
||||
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
wget http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -O miniconda.sh;
|
||||
else
|
||||
export OS=MacOSX;
|
||||
else;
|
||||
echo "OS not supported yet";
|
||||
exit 1;
|
||||
fi
|
||||
- if [[ "PYTHON_VERSION" == "2.7" ]]; then
|
||||
export MINICONDA=Miniconda
|
||||
elif [[ "PYTHON_VERSION" -ge "3" ]]; then
|
||||
export MINICONDA=Miniconda3
|
||||
else;
|
||||
echo "Could not find python version";
|
||||
exit 1;
|
||||
fi
|
||||
- wget http://repo.continuum.io/miniconda/$MINICONDA-latest-$OS-x86_64.sh -O miniconda.sh;
|
||||
- chmod +x miniconda.sh
|
||||
- ./miniconda.sh -b
|
||||
- echo ~/miniconda
|
||||
- export PATH=~/miniconda/bin:$PATH
|
||||
- echo $PATH
|
||||
- ls
|
||||
# - conda update --yes conda
|
||||
|
||||
install:
|
||||
- export PATH=/home/travis/miniconda/bin:$PATH
|
||||
- echo $PATH
|
||||
- conda install --yes python=$PYTHON_VERSION numpy=1.9 scipy=0.16 nose pip six
|
||||
- pip install .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue