stop testing on xenial, we depend on python 3.6 now
This commit is contained in:
parent
cb61144144
commit
1e4992a5e7
|
@ -1,9 +1,8 @@
|
||||||
sudo: required
|
sudo: required
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- IMAGE=ubuntu:xenial
|
|
||||||
- IMAGE=ubuntu:artful
|
- IMAGE=ubuntu:artful
|
||||||
- IMAGE=ubuntu-daily:bionic
|
- IMAGE=ubuntu:bionic
|
||||||
|
|
||||||
language: bash
|
language: bash
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ def _clean_env(env):
|
||||||
return env
|
return env
|
||||||
|
|
||||||
|
|
||||||
def run_command(cmd, *, input=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE, encoding='utf-8', env=None, **kw):
|
def run_command(cmd, *, input=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE, encoding='utf-8', errors='replace', env=None, **kw):
|
||||||
"""A wrapper around subprocess.run with logging and different defaults.
|
"""A wrapper around subprocess.run with logging and different defaults.
|
||||||
|
|
||||||
We never ever want a subprocess to inherit our file descriptors!
|
We never ever want a subprocess to inherit our file descriptors!
|
||||||
|
@ -121,7 +121,7 @@ def run_command(cmd, *, input=None, stdout=subprocess.PIPE, stderr=subprocess.PI
|
||||||
return cp
|
return cp
|
||||||
|
|
||||||
|
|
||||||
def start_command(cmd, *, stdin=subprocess.DEVNULL, stdout=subprocess.PIPE, stderr=subprocess.PIPE, encoding='utf-8', env=None, **kw):
|
def start_command(cmd, *, stdin=subprocess.DEVNULL, stdout=subprocess.PIPE, stderr=subprocess.PIPE, encoding='utf-8', errors='replace', env=None, **kw):
|
||||||
"""A wrapper around subprocess.Popen with logging and different defaults.
|
"""A wrapper around subprocess.Popen with logging and different defaults.
|
||||||
|
|
||||||
We never ever want a subprocess to inherit our file descriptors!
|
We never ever want a subprocess to inherit our file descriptors!
|
||||||
|
|
Loading…
Reference in New Issue