forked from superdesk/superdesk-client-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (26 loc) · 790 Bytes
/
.travis.yml
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
language: node_js
node_js: "lts/*"
dist: bionic
services:
- docker
addons:
chrome: stable
before_script:
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
- |
if [ "$SKIP_SERVER_INSTALL" != "true" ]; then
npm run start-test-server
fi
jobs:
allow_failures:
- name: "audit"
include:
- script: npm run test
name: "unit"
env: SKIP_SERVER_INSTALL=true
- script: npm run build-e2e && npm run start-client-server && npm run protractor -- --suite=a
name: "e2e vol. 1"
- script: npm run build-e2e && npm run start-client-server && npm run protractor -- --suite=b
name: "e2e vol. 2"
- script: npm audit
name: "audit"