summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-03 06:27:35 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-03 06:27:35 +0000
commitd0045da598f13c32606b1bf04f2eac5c3759761a (patch)
tree031cdbf390891ade90429f6e139fee8fc5920ed7 /.travis.yml
parent673ff731c17bbbae4d672c8514d4991382179981 (diff)
.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) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 6cba153375..eeb8230858 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -105,8 +105,6 @@ env:
- &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:
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.