mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
out-of-place on travis
* .travis.yml (before_script, script): out-of-place build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0a2546842f
commit
08ef146e45
1 changed files with 14 additions and 12 deletions
26
.travis.yml
26
.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"
|
||||
|
|
Loading…
Reference in a new issue