ruby-changes:55074
From: k0kubun <ko1@a...>
Date: Sun, 17 Mar 2019 15:20:06 +0900 (JST)
Subject: [ruby-changes:55074] k0kubun:r67281 (trunk): Try disabling Travis cache on darwin
k0kubun 2019-03-17 15:20:01 +0900 (Sun, 17 Mar 2019) New Revision: 67281 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67281 Log: 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. Modified files: trunk/.travis.yml Index: .travis.yml =================================================================== --- .travis.yml (revision 67280) +++ .travis.yml (revision 67281) @@ -278,6 +278,10 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L278 - 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: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L323 - 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/