Skip to content

Commit

Permalink
Force consistent stty size on travis (#6768)
Browse files Browse the repository at this point in the history
It apparently got much narrower yesterday, which causes some tests which
are sensitive to stty width (around parsing pytest output) to fail.
  • Loading branch information
illicitonion authored and Stu Hood committed Nov 14, 2018
1 parent da31a1d commit b2ac372
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build-support/bin/travis-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,11 @@ $(list_pythons | sort -u)
EOF
fi

exec ./build-support/bin/ci.sh "$@"
# 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 "$@"

0 comments on commit b2ac372

Please sign in to comment.