Merge pull request #379 from YannickJadoul/fix-travis-ci-windows-root-ca

Fix SSL error on Windows on Travis CI
This commit is contained in:
Yannick Jadoul
2020-06-18 00:21:33 +02:00
committed by GitHub
+2
View File
@@ -35,6 +35,8 @@ jobs:
language: shell
before_install:
- choco install python3 --version 3.6.8 --no-progress -y
# Update root certificates to fix SSL error; see http://www.chawn.com/RootCerts.htm
- powershell "md C:\temp\certs; CertUtil -generateSSTFromWU C:\temp\certs\RootStore.sst; Get-ChildItem -Path C:\\temp\certs\Rootstore.sst | Import-Certificate -CertStoreLocation Cert:\\LocalMachine\\Root\\ | out-null"
env:
- PYTHON=C:\\Python36\\python