summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 3bf1da2136..9bda0aa721 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -278,6 +278,10 @@ env:
- TEST_ALL_OPTS="--tty=no --excludes=\$(TESTSDIR)/excludes/_travis/osx"
# Disabling -j3 because it seems to cause a hang on building Ruby: https://travis-ci.org/ruby/ruby/jobs/471021727
- JOBS=
+ # Disabling cache because x86_64-darwin build randomly fails by "Permission denied" which we don't know why:
+ # https://travis-ci.org/ruby/ruby/jobs/507381339
+ # https://travis-ci.org/ruby/ruby/jobs/507392198
+ - DISABLE_CACHE=1
- &universal-darwin17
name: uinversal.x86_64h-darwin17
@@ -319,6 +323,10 @@ before_script:
- rm -fr .ext autom4te.cache
- echo $TERM
- |-
+ if [ -n $DISABLE_CACHE ]; then
+ rm -fr ~/.downloaded-cache ~/config_2nd
+ fi
+ - |-
[ -d ~/.downloaded-cache ] ||
mkdir ~/.downloaded-cache
- ln -s ~/.downloaded-cache