From: Tim 'mithro' Ansell Date: Tue, 7 Apr 2020 00:36:09 +0000 (-0700) Subject: Ignore SSL errors on CI. X-Git-Tag: 24jan2021_ls180~493^2~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a1dd8fc883d713b4a25a34e8867b6f17b0115d2e;p=litex.git Ignore SSL errors on CI. --- diff --git a/litex_setup.py b/litex_setup.py index b7239ccf..61a556a8 100755 --- a/litex_setup.py +++ b/litex_setup.py @@ -85,6 +85,10 @@ def sifive_riscv_download(): assert not os.path.exists(dst), dst os.symlink(src, dst) +if os.environ.get('TRAVIS', '') == 'true': + # Ignore `ssl.SSLCertVerificationError` on CI. + import ssl + ssl._create_default_https_context = ssl._create_unverified_context if len(sys.argv) < 2: print("Available commands:")