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

This commit is contained in:
David Wilson 2019-01-27 00:32:22 +00:00
parent 104e7a963f
commit f86d79b284
1 changed files with 1 additions and 1 deletions

View File

@ -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