aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-10-06 14:25:33 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-10-06 14:25:33 +0530
commit97cf0ec01b9e25ec64813de8f0dd3d27b1c51324 (patch)
treed35ff11500ae4ff435fcac2e728cdbb4c629bf20
parente7bb122b22a5fb64263daf3ce2dea2a8f1a14a97 (diff)
downloadmeson-97cf0ec01b9e25ec64813de8f0dd3d27b1c51324.zip
meson-97cf0ec01b9e25ec64813de8f0dd3d27b1c51324.tar.gz
meson-97cf0ec01b9e25ec64813de8f0dd3d27b1c51324.tar.bz2
appveyor: Use a mirror for get-pip.py
pypa.io has an HSTS policy that forces http, and the https cert is broken on Windows.
-rw-r--r--.appveyor.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 5dae571..c0edf5c 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -85,7 +85,10 @@ install:
- cmd: if %compiler%==cygwin ( %WRAPPER% which %PYTHON% ) else ( where %PYTHON% )
# Install additional packages needed for specific builds.
- - ps: If($Env:compiler -eq 'msys2-mingw') {(new-object Net.WebClient).DownloadFile('http://bootstrap.pypa.io/get-pip.py', 'C:\projects\meson\get-pip.py')}
+ # This was originally downloaded from http://bootstrap.pypa.io/get-pip.py,
+ # but they have a broken certificate (on Windows) and an HSTS policy that
+ # forces usage of HTTPS, so we mirror our own copy.
+ - ps: If($Env:compiler -eq 'msys2-mingw') {(new-object Net.WebClient).DownloadFile('https://nirbheek.in/files/meson/get-pip.py', 'C:\projects\meson\get-pip.py')}
- cmd: if %compiler%==msys2-mingw ( %PYTHON% "C:\projects\meson\get-pip.py" )
- cmd: if %compiler%==cygwin ( call ci\appveyor-install.bat )
- ps: |