forked from sverweij/dependency-cruiser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
51 lines (46 loc) · 817 Bytes
/
.gitlab-ci.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
47
48
49
50
51
cache:
key: "$CI_JOB_NAME"
untracked: true
paths:
- node_modules
test_async_node_latest:
image: node:latest
script:
- npm install
- npm run lint
- npm run lint:types
- npm run depcruise
- npm run nsp
- npm run test:cover
except:
- tags
test_async_node_8:
image: node:8
script:
- npm install
- npm run test:cover
except:
- tags
test_async_node_6:
image: node:6
script:
- npm install
- npm run test:cover
except:
- tags
- master
test_async_node_4:
image: node:4
script:
- npm install
- npm run test:cover-node4 # - coffeescript doesn't support node 4 anymore
# - npm run nsp - nsp is not supported on node 4 anymore
except:
- tags
- master
# publish:
# image: node:latest
# script:
# - echo 'npm publish'
# only:
# - tags