forked from OpenSlides/openslides-auth-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (42 loc) · 875 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
34
35
36
37
38
39
40
41
42
43
44
45
46
distro: xenial
sudo: true
cache:
- auth/node_modules
include:
- stage: "Dependencies"
name: "Installing node modules"
language: node_js
cache:
- directories:
- "auth/node_modules"
before_install:
- cd auth
install:
- npm install
script: skip
- stage: "Tests"
name: "Server: Testing"
language: node_js
node_js: "10.13"
script:
- cd auth
- npm t
- name: "Server: Production Build"
language: node_js
node_js: "10.13"
script:
- cd auth
- npm run build
- name: "Server: Linting"
language: node_js
node_js: "10.13"
script:
- cd auth
- npm run lint-check
- name: "Server: Code Formatting Check"
language: node_js
node_js: "10.13"
script:
- cd auth
- npm list --depth=0 || cat --help
- npm run prettify-check