forked from louislam/redbean-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
62 lines (53 loc) · 1.04 KB
/
.gitlab-ci.yml
File metadata and controls
62 lines (53 loc) · 1.04 KB
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
52
53
54
55
56
57
58
59
60
61
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/
# This folder is cached between builds
# http://docs.gitlab.com/ee/ci/yaml/README.html#cache
cache:
paths:
- node_modules/
test:node_latest:
image: node:latest
script:
- npm install
- echo "$COVERALLS_REPO_TOKEN"
- npm run coverage
test:node_10:
image: node:10
script:
- npm install
- npm run test
test:node_11:
image: node:11
script:
- npm install
- npm run test
only:
- tags
test:node_12:
image: node:12
script:
- npm install
- npm run test
only:
- tags
test:node_13:
image: node:13
script:
- npm install
- npm run test
only:
- tags
test:node_14:
image: node:14
script:
- npm install
- npm run test
only:
- tags
test:node_15:
image: node:15
script:
- npm install
- npm run test
only:
- tags