From 2ad4fa5c8a253bc3b6dff5f2c85ebaa377661a91 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 6 Apr 2016 07:11:57 +0200 Subject: [PATCH] ci/install: Upgrade pip on Travis/AppVeyor See #1396 --- scripts/dev/ci/install.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/dev/ci/install.py b/scripts/dev/ci/install.py index b96b9f72c..f3af7ccf8 100644 --- a/scripts/dev/ci/install.py +++ b/scripts/dev/ci/install.py @@ -108,6 +108,7 @@ if 'APPVEYOR' in os.environ: print("Installing PyQt5...") subprocess.check_call([r'C:\install-PyQt5.exe', '/S']) + folded_cmd([r'C:\Python34\Scripts\pip', 'install', '-U', 'pip']) folded_cmd([r'C:\Python34\Scripts\pip', 'install', '-U'] + pip_packages) print("Linking Python...") @@ -118,6 +119,7 @@ if 'APPVEYOR' in os.environ: elif TRAVIS_OS == 'linux' and 'DOCKER' in os.environ: pass elif TRAVIS_OS == 'linux': + folded_cmd(['sudo', 'pip', 'install', '-U', 'pip']) folded_cmd(['sudo', 'pip', 'install'] + pip_packages) pkgs = []