mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Split commands
* .travis.yml (before_script): split commands to prepare variables for pull request URLs to rubyspec, to stop when each commands failed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
51eaaa898b
commit
2c0b9e8748
1 changed files with 5 additions and 6 deletions
11
.travis.yml
11
.travis.yml
|
@ -47,12 +47,11 @@ before_script:
|
|||
- "make after-update BASERUBY=ruby UNICODE_FILES=."
|
||||
- "make -s $JOBS"
|
||||
- "make update-rubyspec"
|
||||
- "if [ -n \"${RUBYSPEC_PULL_REQUEST}\" ]\n
|
||||
then\n
|
||||
merge=\n
|
||||
for rev in ${RUBYSPEC_PULL_REQUEST//,/ }; do merge=\"$merge +refs/pull/$rev/merge:\"; done\n
|
||||
git -C spec/rubyspec -c user.email=none -c user.name=none pull --no-edit origin $merge\n
|
||||
fi"
|
||||
- "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}"
|
||||
|
||||
script:
|
||||
- "make -s test TESTOPTS=--color=never"
|
||||
|
|
Loading…
Reference in a new issue