From d5d4e42c640935e44c1a0db780f9e1705adb3cbd Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 22 Jan 2016 06:40:41 +0100 Subject: [PATCH] ci_install: Update Python3 for flake8 env. --- scripts/dev/ci_install.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/dev/ci_install.py b/scripts/dev/ci_install.py index 4cf512433..9e3d1d25d 100644 --- a/scripts/dev/ci_install.py +++ b/scripts/dev/ci_install.py @@ -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: