diff --git a/.travis.yml b/.travis.yml index 66a56880381..e4b179b4450 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,16 @@ branches: only: - master - develop + - travis-cache os: - linux +cache: + pip: true + directories: + - $HOME/miniconda + env: global: - secure: "f8EMSWeYC38elhpB4B/ddxlklEvQoycaxnt90Xw2tH/+ThdP1qteQ2vdgNFy1KL7Am/xnbrRhavI5K+ayfxJ93NoE2adaJ9f9aljXK+Oeu+buv5MVo2E2HhN9mX9opSSxiqGmnHIVYcdLP+1soIsDD78SGL7hB/u5nQ1aTzkbaM=" @@ -78,7 +84,8 @@ matrix: EVENT_TYPE='cron' install: - - git clone git://github.com/astropy/ci-helpers.git + - git clone git://github.com/utkbansal/ci-helpers + - cd ci-helpers && git checkout caching && cd .. - source ci-helpers/travis/setup_conda_$TRAVIS_OS_NAME.sh # additional external tools (Issue #898) -- HOLE - | @@ -100,4 +107,4 @@ after_success: # can't use test here since this leads to travis fails even though the build passes - if [[ ${TRAVIS_PULL_REQUEST} == "false" ]] && [[ ${BUILD_DOCS} == "true" ]] && [[ ${TRAVIS_BRANCH} == ${GH_DOC_BRANCH} ]]; then bash ${TRAVIS_BUILD_DIR}/maintainer/deploy_docs.sh; - fi + fi \ No newline at end of file