Update .travis.yml

This commit is contained in:
Max Zwiessele 2015-09-12 17:57:12 +01:00
parent 809ca36b4f
commit 8b1c196d35

View file

@ -2,7 +2,7 @@ sudo: false
os: os:
- osx - osx
# - linux - linux
#language: python #language: python
@ -21,23 +21,28 @@ env:
before_install: before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - 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 elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -O miniconda.sh; export OS=MacOSX;
else else;
echo "OS not supported yet";
exit 1; exit 1;
fi 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 - chmod +x miniconda.sh
- ./miniconda.sh -b - ./miniconda.sh -b
- echo ~/miniconda
- export PATH=~/miniconda/bin:$PATH - export PATH=~/miniconda/bin:$PATH
- echo $PATH
- ls
# - conda update --yes conda # - conda update --yes conda
install: 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 - conda install --yes python=$PYTHON_VERSION numpy=1.9 scipy=0.16 nose pip six
- pip install . - pip install .