2020-09-30 10:22:49 +02:00
|
|
|
dist: xenial
|
2012-10-28 15:40:42 +00:00
|
|
|
language: node_js
|
2019-12-21 09:07:11 +01:00
|
|
|
|
2012-10-28 15:40:42 +00:00
|
|
|
node_js:
|
2020-09-30 10:22:49 +02:00
|
|
|
- "10.13"
|
2019-12-01 15:38:47 +01:00
|
|
|
|
2020-05-29 21:42:44 +01:00
|
|
|
cache: false
|
2020-05-29 12:28:31 +01:00
|
|
|
|
2019-12-21 10:10:35 +01:00
|
|
|
jobs:
|
2020-06-08 11:45:03 +00:00
|
|
|
include:
|
2020-06-08 13:51:57 +01:00
|
|
|
# we can only frontend tests from the ether/ organization and not from forks.
|
|
|
|
# To request tests to be run ask a maintainer to fork your repo to ether/
|
|
|
|
- if: fork = false
|
2020-09-30 10:22:49 +02:00
|
|
|
name: "Test SSL"
|
2020-06-08 12:39:20 +01:00
|
|
|
install:
|
2020-09-30 10:22:49 +02:00
|
|
|
- "openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 1 -nodes -subj '/CN=localhost'"
|
|
|
|
- "./bin/installDeps.sh"
|
|
|
|
- "echo '{\"ssl\":{\"key\":\"key.pem\",\"cert\":\"cert.pem\"}}' >settings.json"
|
|
|
|
- "node src/node/server.js"
|
2020-06-08 12:39:20 +01:00
|
|
|
script:
|
2020-09-30 10:22:49 +02:00
|
|
|
- "wget --no-check-certificate https://localhost:9001/p/test"
|