aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml26
1 files changed, 14 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index af90804269..2220fcdae8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,24 +35,26 @@ before_script:
- "uname -r"
- "rm -fr .ext autom4te.cache"
- "echo $TERM"
- - "make -f common.mk BASERUBY=ruby MAKEDIRS='mkdir -p' srcdir=. update-config_files"
- - "autoconf"
- - "mkdir config_1st config_2nd"
- - "./configure -C --disable-install-doc --with-gcc=$CC $CONFIG_FLAG"
- - "cp -pr config.status .ext/include config_1st"
- - "make reconfig"
- - "cp -pr config.status .ext/include config_2nd"
- - "diff -ru config_1st config_2nd"
+ - "> config.status"
+ - "sed -f tool/prereq.status Makefile.in common.mk > Makefile"
+ - "make update-config_files"
- "make touch-unicode-files"
- - "make after-update BASERUBY=ruby BOOTSTRAPRUBY='$(BASERUBY)' MINIRUBY='$(BASERUBY)' UNICODE_FILES=. PREP= CC=false"
- - "make -s $JOBS"
+ - "make srcs UNICODE_FILES=."
- "make update-rubyspec"
- - "requests="
- - "for req in ${RUBYSPEC_PULL_REQUEST//,/ }; do
+ - "requests=; for req in ${RUBYSPEC_PULL_REQUEST//,/ }; do
requests=\"$requests +refs/pull/$req/merge:\";
done"
- "${requests:+git -C spec/rubyspec -c user.email=none -c user.name=none pull --no-edit origin $requests}"
- "${requests:+git -C spec/rubyspec log --oneline origin/master..@}"
+ - "rm config.status Makefile rbconfig.rb .rbconfig.time"
+ - "mkdir build config_1st config_2nd"
+ - "cd build"
+ - "../configure -C --disable-install-doc --with-gcc=$CC $CONFIG_FLAG"
+ - "cp -pr config.cache config.status .ext/include ../config_1st"
+ - "make reconfig"
+ - "cp -pr config.cache config.status .ext/include ../config_2nd"
+ - "(cd .. && exec diff -ru config_1st config_2nd)"
+ - "make -s $JOBS"
script:
- "make -s test TESTOPTS=--color=never"