ci: don't use the TTY->pipe hack except on Travis where it's needed.

issue510
David Wilson 6 years ago
parent 104e7a963f
commit f86d79b284

@ -47,7 +47,7 @@ if not hasattr(subprocess, 'check_output'):
# Force stdout FD 1 to be a pipe, so tools like pip don't spam progress bars. # Force stdout FD 1 to be a pipe, so tools like pip don't spam progress bars.
if sys.platform.startswith('linux'): if 'TRAVIS_HOME' in os.environ:
proc = subprocess.Popen( proc = subprocess.Popen(
args=['stdbuf', '-oL', 'cat'], args=['stdbuf', '-oL', 'cat'],
stdin=subprocess.PIPE stdin=subprocess.PIPE

Loading…
Cancel
Save