mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
.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
This commit is contained in:
parent
3d5be5f86a
commit
3b257773a5
3 changed files with 13 additions and 6 deletions
|
@ -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.
|
||||
|
|
|
@ -340,7 +340,7 @@ uncommon.mk: $(srcdir)/common.mk
|
|||
.PHONY: reconfig
|
||||
reconfig-args = $(srcdir)/$(CONFIGURE) $(configure_args)
|
||||
config.status-args = ./config.status --recheck
|
||||
reconfig-exec-0 = test -t 1 && { CONFIGURE_TTY=yes; export CONFIGURE_TTY; }; exec 3>&1; exit `exec 4>&1; { "$$@" 3>&- 4>&-; echo $$? 1>&4; } | fgrep -v '(cached)' 1>&3 3>&- 4>&-`
|
||||
reconfig-exec-0 = test -t 1 && { CONFIGURE_TTY=${CONFIGURE_TTY=yes}; export CONFIGURE_TTY; }; exec 3>&1; exit `exec 4>&1; { "$$@" 3>&- 4>&-; echo $$? 1>&4; } | fgrep -v '(cached)' 1>&3 3>&- 4>&-`
|
||||
reconfig-exec-1 = set -x; "$$@"
|
||||
|
||||
reconfig config.status: $(srcdir)/$(CONFIGURE) $(srcdir)/enc/Makefile.in \
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
# -*- Autoconf -*-
|
||||
AC_DEFUN([_COLORIZE_RESULT_PREPARE], [
|
||||
msg_checking= msg_result_yes= msg_result_no= msg_result_other= msg_reset=
|
||||
AS_IF([test "x${CONFIGURE_TTY}" = xyes -o -t 1], [
|
||||
AS_CASE(["x${CONFIGURE_TTY}"],
|
||||
[xyes|xalways],[rb_cv_configure_tty=1],
|
||||
[xno|xnever], [rb_cv_configure_tty=0],
|
||||
[AS_IF([test -t 1],
|
||||
[rb_cv_configure_tty=1],
|
||||
[rb_cv_configure_tty=0])])
|
||||
AS_IF([test $rb_cv_configure_tty -eq 1], [
|
||||
msg_begin="`tput smso 2>/dev/null`"
|
||||
AS_CASE(["$msg_begin"], ['@<:@'*m],
|
||||
[msg_begin="`echo "$msg_begin" | sed ['s/[0-9]*m$//']`"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue