ci_install: Update Python3 for flake8 env.
This commit is contained in:
parent
af0067526b
commit
d5d4e42c64
@ -116,6 +116,14 @@ elif TRAVIS_OS == 'linux':
|
||||
print("apt-get install...")
|
||||
apt_get(['install'] + pkgs)
|
||||
|
||||
if TESTENV == 'flake8':
|
||||
print("apt-get update...")
|
||||
apt_get(['update'])
|
||||
# We need an up-to-date Python because of:
|
||||
# https://github.com/google/yapf/issues/46
|
||||
print("Updating Python...")
|
||||
apt_get(['install', '-t', 'trusty-updates', 'python3.4'])
|
||||
|
||||
if TESTENV == 'eslint':
|
||||
subprocess.check_call(['sudo', 'npm', 'install', '-g', 'eslint'])
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user