diff --git a/.travis.yml b/.travis.yml index 3bf1da2136..7b61be21f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -357,7 +357,20 @@ before_script: - rm -rf ~/config_2nd - mv ../config_2nd ~ - chmod u-w .. - - $SETARCH make -s $JOBS && make install + - |- + if ! $SETARCH make -s $JOBS; then + if [ "$(uname)" = Darwin ]; then + # Debugging "Permission defined" failure on darwin like https://travis-ci.org/ruby/ruby/jobs/508683759 + set -x + echo $USER + ls -la + ls -la .ext + ls -la .ext/common + ls -la .ext/common/bigdecimal + fi + exit 1 + fi + - make install - ccache --show-stats - |- [ -z "${GEMS_FOR_TEST}" ] ||