Skip to content
Closed
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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="
Expand Down Expand Up @@ -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
- |
Expand All @@ -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