From b2ac3726085da09c7c7c3b0286c8ee21eab10f7b Mon Sep 17 00:00:00 2001 From: Daniel Wagner-Hall Date: Wed, 14 Nov 2018 21:54:48 +0000 Subject: [PATCH] Force consistent stty size on travis (#6768) It apparently got much narrower yesterday, which causes some tests which are sensitive to stty width (around parsing pytest output) to fail. --- build-support/bin/travis-ci.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build-support/bin/travis-ci.sh b/build-support/bin/travis-ci.sh index 3644717651f..ee2a403c0af 100755 --- a/build-support/bin/travis-ci.sh +++ b/build-support/bin/travis-ci.sh @@ -53,4 +53,11 @@ $(list_pythons | sort -u) EOF fi -exec ./build-support/bin/ci.sh "$@" \ No newline at end of file +# We have tests which parse pytest's output, which varies based on stty size. +# On 2018-11-13 Travis's stty got significantly more narrow than it was, causing +# tests in tests/python/pants_test/rules:test_integration to fail. +# Force a consistent stty size to avoid this noise. +stty rows 60 +stty cols 120 + +exec ./build-support/bin/ci.sh "$@"