forked from nodeSolidServer/node-solid-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (35 loc) · 698 Bytes
/
.travis.yml
File metadata and controls
42 lines (35 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
sudo: false
language: node_js
node_js:
- "12"
- "lts/*"
- "node"
addons:
hosts:
- nic.localhost
- tim.localhost
- nicola.localhost
before_install:
- echo "No GitHub dependencies allowed" &&
! grep '"github:' package-lock.json
- npm install -g npm@latest
install:
- npm ci
script:
# Test the code
- npm run standard
- npm run validate
- npm run nyc
# Test global install of the package
- npm pack .
- npm install -g solid-server-*.tgz
# Run the Solid test-suite
- npm install
- sh test/surface/run-solid-test-suite.sh
after_success:
- snyk monitor
cache: npm
notifications:
email:
- solid@janeirodigital.com
- solid-travis@inrupt.com