ci: don't use the TTY->pipe hack except on Travis where it's needed.
This commit is contained in:
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…
Reference in New Issue