1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

.travis.yml: split long command [ci skip]

* .travis.yml (before_script): split long command to merge pull
  requests to rubyspec from github.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-04-07 16:08:49 +00:00
parent 10024b0e43
commit 7fdb410b55

View file

@ -47,10 +47,12 @@ before_script:
- "make after-update BASERUBY=ruby UNICODE_FILES=."
- "make -s $JOBS"
- "make update-rubyspec"
- "${RUBYSPEC_PULL_REQUEST:+git -C spec/rubyspec -c user.email=none -c user.name=none
pull --no-edit origin $(for rev in ${RUBYSPEC_PULL_REQUEST//,/ }; do
echo +refs/pull/$rev/merge:;
done)}"
- "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"
script:
- "make -s test TESTOPTS=--color=never"