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

ruby-changes:54483

From: k0kubun <ko1@a...>
Date: Thu, 3 Jan 2019 15:27:39 +0900 (JST)
Subject: [ruby-changes:54483] k0kubun:r66698 (trunk): .travis.yml: propagate -w properly

k0kubun	2019-01-03 15:27:35 +0900 (Thu, 03 Jan 2019)

  New Revision: 66698

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

  Log:
    .travis.yml: propagate -w properly
    
    r66692's `export RUBYOPT="-w"` does not seem to work.
    Passing `RUBYOPT="-w"` to `make test-all`'s argument works.
    
    Let's try having this for all environments.
    
    (see r66690 for motivation)

  Modified files:
    trunk/.travis.yml
Index: .travis.yml
===================================================================
--- .travis.yml	(revision 66697)
+++ .travis.yml	(revision 66698)
@@ -105,8 +105,6 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L105
   - &x86_64-linux
     name: x86_64-linux
     <<: *linux
-    env:
-      - RUBYOPT="-w" # test the same condition as RubyCI's chkbuild by this
 
   - &jemalloc
     name: --with-jemalloc
@@ -372,7 +370,7 @@ before_script: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L370
 
 script:
   - $SETARCH make -s test TESTOPTS="${TESTOPTS=$JOBS -q --tty=no}"
-  - travis_wait 40 $SETARCH make -s test-all -o exts TESTOPTS="${TEST_ALL_OPTS=$TESTOPTS}"
+  - travis_wait 40 $SETARCH make -s test-all -o exts TESTOPTS="${TEST_ALL_OPTS=$TESTOPTS}" RUBYOPT="-w"
   - $SETARCH make -s test-spec MSPECOPT=-ff # not using `-j` because sometimes `mspec -j` silently dies
 
 # Branch matrix.  Not all branches are Travis-ready so we limit branches here.

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

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