10000 Try disabling Travis cache on darwin · jruby/ruby@6b136a0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b136a0

Browse files
committed
Try disabling Travis cache on darwin
to check if it resolves "Permission denied" problem. https://travis-ci.org/ruby/ruby/jobs/507381339 https://travis-ci.org/ruby/ruby/jobs/507392198 TBH I'm not exactly sure why it happens, but I don't have infinite time to understand this. It would be appreciated to identify the root cause and remove `DISABLE_CACHE` again if you're sure your patch fixes the problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent d4b6198 commit 6b136a0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,10 @@ env:
278278
- TEST_ALL_OPTS="--tty=no --excludes=\$(TESTSDIR)/excludes/_travis/osx"
279279
# Disabling -j3 because it seems to cause a hang on building Ruby: https://travis-ci.org/ruby/ruby/jobs/471021727
280280
- JOBS=
281+
# Disabling cache because x86_64-darwin build randomly fails by "Permission denied" which we don't know why:
282+
# https://travis-ci.org/ruby/ruby/jobs/507381339
283+
# https://travis-ci.org/ruby/ruby/jobs/507392198
284+
- DISABLE_CACHE=1
281285

282286
- &universal-darwin17
283287
name: uinversal.x86_64h-darwin17
@@ -318,6 +322,10 @@ before_script:
318322
- $SETARCH uname -r
319323
- rm -fr .ext autom4te.cache
320324
- echo $TERM
325+
- |-
326+
if [ -n $DISABLE_CACHE ]; then
327+
rm -fr ~/.downloaded-cache ~/config_2nd
328+
fi
321329
- |-
322330
[ -d ~/.downloaded-cache ] ||
323331
mkdir ~/.downloaded-cache

0 commit comments

Comments
 (0)
0