summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-04-29 01:23:09 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-04-29 01:23:20 +0900
commitf0776e3203b55b698971a2d2b0acc48cb3a0940e (patch)
treeb8df9ddc1000ceebb8956015738260e8954678e3
parent50cbb21ba533f67e29d7da0975ba186f9e3da93f (diff)
Add more debug print for random CI failure on osx Travis
and remove `git status` with noisy rvm trace log see r67347
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 52f3d8e83b..d78c8c2d1a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -359,6 +359,7 @@ matrix:
fast_finish: true
before_script:
+ - date # Debugging "Permission defined" failure on darwin like https://travis-ci.org/ruby/ruby/jobs/508683759
- echo JOBS=${JOBS} SETARCH=${SETARCH}
- $SETARCH uname -a
- $SETARCH uname -r
@@ -405,10 +406,12 @@ before_script:
- chmod u-w ..
- $SETARCH make -s $JOBS
- |-
+ date; : # Debugging "Permission defined" failure on darwin like https://travis-ci.org/ruby/ruby/jobs/508683759
if ! make install; then
if [ "$(uname)" = Darwin ]; then
# Debugging "Permission defined" failure on darwin like https://travis-ci.org/ruby/ruby/jobs/508683759
set -x
+ date
echo $USER
ls -la
ls -la .ext
@@ -419,8 +422,7 @@ before_script:
ls -la ../ext
ls -laR ../ext/bigdecimal
umask
- (cd .. && git status)
- ./miniruby -e 'ARGV.map{[@1,File.stat(@1)]}.sort_by{@2.mtime}.each{p mtime:@2.mtime.to_f, ctime:@2.ctime.to_f, path:@1}' .ext/.timestamp/.RUBYCOMMONDIR*time .ext/common/bigdecimal/*.rb ../ext/bigdecimal/lib/bigdecimal/*.rb
+ ./miniruby -e 'ARGV.map{[@1,File.stat(@1)]}.sort_by{@2.mtime}.each{p mtime:@2.mtime.to_f, ctime:@2.ctime.to_f, path:@1}' .ext/.timestamp/.RUBYCOMMONDIR*time .ext/common/bigdecimal/*.rb ../ext/bigdecimal/lib/bigdecimal/*.rb . .. .ext .ext/common .ext/common/bigdecimal ext/bigdecimal ../ext ../ext/bigdecimal ../ext/bigdecimal/lib ../ext/bigdecimal/lib/bigdecimal
fi
exit 1
fi