diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-27 08:39:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-27 08:39:39 +0000 |
commit | b6854df4298858ac09a1013a1cf9c3aa1752eef8 (patch) | |
tree | 8da6c23e95f78924c5a9cf891db8835a43e502ef | |
parent | b6f73c90349f70081b4bf9ecf25c7b72aa70e93c (diff) | |
download | ruby-b6854df4298858ac09a1013a1cf9c3aa1752eef8.tar.gz |
.travis.yml: discard config.cache if CC changed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | .travis.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index d0514c31a2..5fc4486aa9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -339,6 +339,7 @@ before_script: gcc*) the_gcc=(ccache $CC ${GCC_FLAGS[@]} -fno-diagnostics-color) ;; clang*) the_gcc=(ccache $CC ${GCC_FLAGS[@]} -fno-color-diagnostics) ;; esac + - "[ ! -f config.cache ] || [ \"$CC\" = \"`sed -n s/^ac_cv_prog_CC=//p config.cache`\" ] || (set -x; exec rm config.cache)" - "$SETARCH ../configure -C --disable-install-doc --prefix=/tmp/ruby-prefix --with-gcc=\"${the_gcc[*]}\" $CONFIG_FLAG" - "cp -pr config.cache config.status .ext/include ../config_1st" - "$SETARCH make reconfig" |