summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-13 04:55:43 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-13 04:55:43 +0000
commit3b257773a55b3d58e8a41d82203bb5a66304f3fe (patch)
tree1252fb70e34b25c00144d093927bed3f745f4316 /.travis.yml
parent3d5be5f86a900aa9347db8643bacdaebd38ae241 (diff)
.travis.yml: specify --tty=no
To reduce the amount of output, prefer --tty=no instead of --color=never. This option not only disables color output but also kill some tty-related features, like spinners. Travis limits its output by the physical size of the log, not by the number of lines. This change should make more room for new logs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 3fe9a18021..eac71c1f72 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -48,7 +48,9 @@ addons:
- libffi
- openssl@1.1
- zlib
-
+env:
+ global:
+ - "CONFIGURE_TTY=no"
.org.ruby-lang.ci.matrix-definitions:
- &cron-only
@@ -304,9 +306,8 @@ before_script:
- "$SETARCH make -s $JOBS && make install"
script:
- - "$SETARCH make -s test TESTOPTS=--color=never"
- - "export TEST_ALL_TESTOPTS=\"${TEST_ALL_TESTOPTS:- $JOBS -q --color=never --job-status=normal}\""
- - "$SETARCH make -s test-all -o exts TESTOPTS=\"$TEST_ALL_TESTOPTS\""
+ - "$SETARCH make -s test TESTOPTS=\"${TESTOPTS=$JOBS -q --tty=no}\""
+ - "$SETARCH make -s test-all -o exts TESTOPTS=\"${TEST_ALL_OPTS=$TESTOPTS}\""
- "$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.