Skip to content

Commit

Permalink
Merge pull request #181 from CamDavidsonPilon/faster-travis
Browse files Browse the repository at this point in the history
Update travis config to run on faster containers
  • Loading branch information
spacecowboy committed Aug 4, 2015
2 parents d2be007 + bd83558 commit ea38664
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .travis.yml
@@ -1,20 +1,25 @@
# This allows it to run on faster containers.
sudo: false

language: python
python:
- "2.7"
- "3.3"
- "3.4"
before_install:
- sudo apt-get update
- sudo apt-get install gfortran gcc
addons:
apt:
packages:
- gcc
- gfortran
# See http://conda.pydata.org/docs/travis.html
install:
# You may want to periodically update this, although the conda update
# conda line below will keep everything up-to-date.
# This saves us some downloading for this version
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda-3.7.0-Linux-x86_64.sh -O miniconda.sh;
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget http://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O miniconda.sh;
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
Expand Down

0 comments on commit ea38664

Please sign in to comment.