projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b2aff1
)
Ignore SSL errors on CI.
author
Tim 'mithro' Ansell
<me@mith.ro>
Tue, 7 Apr 2020 00:36:09 +0000
(17:36 -0700)
committer
Tim 'mithro' Ansell
<me@mith.ro>
Tue, 7 Apr 2020 00:36:09 +0000
(17:36 -0700)
litex_setup.py
patch
|
blob
|
history
diff --git
a/litex_setup.py
b/litex_setup.py
index b7239ccf4a8c032587d2420bdce15b64b3c0bad1..61a556a8b5305705bac3a016126c9b3d6e93ec92 100755
(executable)
--- 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:")