Browse Source
ci(travis): disable security warnings
Set ELECTRON_DISABLE_SECURITY_WARNINGS on travis to prevent security
warnings related to CSP from failing the tests.
renovate/lint-staged-8.x
Tom Kirkpatrick
7 years ago
No known key found for this signature in database
GPG Key ID: 72203A8EC5967EA8
2 changed files with
2 additions and
1 deletions
-
.travis.yml
-
app/app.html
|
|
@ -5,6 +5,7 @@ language: node_js |
|
|
|
env: |
|
|
|
global: |
|
|
|
- DEBUG=electron-builder |
|
|
|
- ELECTRON_DISABLE_SECURITY_WARNINGS=true |
|
|
|
matrix: |
|
|
|
- TEST=lint-ci |
|
|
|
- TEST=test-ci |
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
|
<meta charset="utf-8"> |
|
|
|
<meta http-equiv="Content-Security-Policy" content=" |
|
|
|
default-src 'self'; |
|
|
|
connect-src 'self' http://localhost:* ws://localhost:* https://api.coinmarketcap.com http://zap.jackmallers.com https://testnet-api.smartbit.com.au; |
|
|
|
connect-src 'self' http://localhost:* ws://localhost:* https://api.coinmarketcap.com https://zap.jackmallers.com https://testnet-api.smartbit.com.au; |
|
|
|
script-src 'self' http://localhost:* 'unsafe-eval' 'unsafe-inline'; |
|
|
|
font-src 'self' data: http://localhost:* https://fonts.googleapis.com https://s3.amazonaws.com https://fonts.gstatic.com; |
|
|
|
style-src 'self' blob: https://fonts.googleapis.com https://s3.amazonaws.com https://fonts.gstatic.com 'unsafe-inline';"> |
|
|
|