ruby-changes:46165
From: nobu <ko1@a...>
Date: Sat, 8 Apr 2017 16:30:00 +0900 (JST)
Subject: [ruby-changes:46165] nobu:r58278 (trunk): Split commands
nobu 2017-04-08 16:29:54 +0900 (Sat, 08 Apr 2017) New Revision: 58278 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58278 Log: Split commands * .travis.yml (before_script): split commands to prepare variables for pull request URLs to rubyspec, to stop when each commands failed. Modified files: trunk/.travis.yml Index: .travis.yml =================================================================== --- .travis.yml (revision 58277) +++ .travis.yml (revision 58278) @@ -47,12 +47,11 @@ before_script: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L47 - "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" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/