[前][次][番号順一覧][スレッド一覧]

ruby-changes:53865

From: shyouhei <ko1@a...>
Date: Thu, 29 Nov 2018 11:47:41 +0900 (JST)
Subject: [ruby-changes:53865] shyouhei:r66084 (trunk): .travis.yml: fix YAML parse error

shyouhei	2018-11-29 11:47:36 +0900 (Thu, 29 Nov 2018)

  New Revision: 66084

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66084

  Log:
    .travis.yml: fix YAML parse error
    
    `[` is a meta character in YAML.  `- [` starts an array,
    so it should end with `]`; but it was not.

  Modified files:
    trunk/.travis.yml
Index: .travis.yml
===================================================================
--- .travis.yml	(revision 66083)
+++ .travis.yml	(revision 66084)
@@ -356,7 +356,9 @@ before_script: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L356
   - chmod u-w ..
   - $SETARCH make -s $JOBS && make install
   - ccache --show-stats
-  - [ -z "${GEMS_FOR_TEST}" ] || $RUBY_PREFIX/bin/gem install --no-document $GEMS_FOR_TEST
+  - |-
+    [ -z "${GEMS_FOR_TEST}" ] ||
+    $RUBY_PREFIX/bin/gem install --no-document $GEMS_FOR_TEST
 
 script:
   - $SETARCH make -s test TESTOPTS="${TESTOPTS=$JOBS -q --tty=no}"

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]