Skip to content

Commit

Permalink
Make Travis build consistent with anaconda docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrowley committed Mar 19, 2015
1 parent 32668d3 commit 5ac5100
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .travis.yml
Expand Up @@ -11,14 +11,17 @@ before_install:
- sudo apt-get update --fix-missing -qq
- sudo apt-get install gfortran liblapack-dev
# use miniconda to install numpy/scipy, to avoid lengthy build from source
- 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
# The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda-3.4.2-Linux-x86_64.sh -O miniconda.sh;
else
wget http://repo.continuum.io/miniconda/Miniconda3-3.4.2-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a

# Install packages
install:
Expand Down

0 comments on commit 5ac5100

Please sign in to comment.