summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-07 14:00:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-07 14:00:22 +0000
commit10024b0e431702949aa17d3cc3a410d5f6f16640 (patch)
tree89da61492041a90b093f99beaa2d7df073e37f64 /.travis.yml
parent08e74bfa2c61c1c7c1dbfe7b7a0b90ed19da723b (diff)
.travis.yml: multiple rubyspec PRs [ci skip]
* .travis.yml (before_script): merge multiple pull requests rubyspec to from github. pull request numbers are given by RUBYSPEC_PULL_REQUEST, as a comma or space separated list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 8768b64bff..86b6b3b46c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,7 +47,10 @@ before_script:
- "make after-update BASERUBY=ruby UNICODE_FILES=."
- "make -s $JOBS"
- "make update-rubyspec"
- - "${RUBYSPEC_PULL_REQUEST:+git -C spec/rubyspec pull origin +refs/pull/${RUBYSPEC_PULL_REQUEST}/merge:}"
+ - "${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)}"
script:
- "make -s test TESTOPTS=--color=never"