Skip to content

Commit

Permalink
Only cache deps on Travis for master and release branches
Browse files Browse the repository at this point in the history
[av skip]
  • Loading branch information
tkelman committed Dec 6, 2015
1 parent 397a795 commit 05301b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ script:
- cp /tmp/julia/lib/julia/sys.ji local.ji && /tmp/julia/bin/julia -J local.ji -e 'true' && /tmp/julia/bin/julia-debug -J local.ji -e 'true' && rm local.ji
- /tmp/julia/bin/julia -e 'versioninfo()'
- export JULIA_CPU_CORES=2 && cd /tmp/julia/share/julia/test && /tmp/julia/bin/julia --check-bounds=yes runtests.jl all && /tmp/julia/bin/julia --check-bounds=yes runtests.jl libgit2-online pkg
- cd `dirname $TRAVIS_BUILD_DIR` && mv julia2 julia && mv julia/deps/build julia/deps/build-$ARCH
- case $TRAVIS_PULL_REQUEST-$TRAVIS_BRANCH in
false-master | false-release*)
cd `dirname $TRAVIS_BUILD_DIR` &&
mv julia2 julia &&
mv julia/deps/build julia/deps/build-$ARCH;;
esac
# uncomment the following if failures are suspected to be due to the out-of-memory killer
# - dmesg

0 comments on commit 05301b9

Please sign in to comment.