aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-18 23:31:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-18 23:31:26 +0000
commit5dd1e83eff756ad321df8f43d44994bafc0a9e4e (patch)
tree7a44aba5105a3bdbf6b304d0a15237ec30a81ad4 /.travis.yml
parentfe360c463c920dbb16284f3cede4c34f32162f77 (diff)
downloadruby-5dd1e83eff756ad321df8f43d44994bafc0a9e4e.tar.gz
* .travis.yml (before_script): check if cached config works.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 51987ab91d..c55aebaabe 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,7 +40,12 @@ install: "sudo apt-get -qq build-dep ruby1.9.1 2>/dev/null"
before_script:
- "make -f common.mk BASERUBY=ruby srcdir=. update-config_files"
- "autoconf"
- - "./configure --with-gcc=$CC"
+ - "mkdir config_1st config_2nd"
+ - "./configure -C --with-gcc=$CC"
+ - "cp -pr config.status .ext/include config_1nd"
+ - "make reconfig"
+ - "cp -pr config.status .ext/include config_2nd"
+ - "diff -ru config_1nd config_2nd"
- "make -sj encs"
- "make -sj exts"
script: