Skip to content

Commit

Permalink
Try caching the miniconda and pip downloads.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakejohnson committed Jan 21, 2016
1 parent 78a34f0 commit 9376580
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ python:

# Setup anaconda
before_install:
- mkdir -p download
- cd download
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- cd ..
- export PATH=/home/travis/miniconda2/bin:$PATH
- conda update --yes conda
- travis_retry conda install --yes python=$TRAVIS_PYTHON_VERSION numpy bokeh enaml atom matplotlib h5py jupyter scipy networkx
Expand All @@ -30,3 +33,8 @@ after_script:

# necessary to run on new container-based infrastructure
sudo: false

cache:
directories:
- $HOME/download
- $HOME/.cache/pip

0 comments on commit 9376580

Please sign in to comment.