File tree 2 files changed +11689
-4
lines changed
2 files changed +11689
-4
lines changed Original file line number Diff line number Diff line change @@ -4,18 +4,35 @@ services:
4
4
- couchdb
5
5
6
6
node_js :
7
- - " 5 "
7
+ - " 6 "
8
8
9
9
sudo : false
10
10
11
+ before_install :
12
+ # package-lock.json was introduced in npm@5
13
+ - npm install -g npm@5 # skip this if you are using node 9
14
+ - npm install -g greenkeeper-lockfile@1
15
+
11
16
before_script :
12
- - " npm install add-cors-to-couchdb"
13
- - " ./node_modules/.bin/add-cors-to-couchdb"
14
- - " npm run lint"
17
+ # update package-lock.json
18
+ - greenkeeper-lockfile-update
19
+ # ensure correct CORS configuration of the couchdb service
20
+ - npm install add-cors-to-couchdb
21
+ - ./node_modules/.bin/add-cors-to-couchdb
22
+ # run linter before the tests
23
+ - npm run lint
24
+
25
+ after_script :
26
+ # upload the updated package-lock.json
27
+ - greenkeeper-lockfile-upload
15
28
16
29
script : npm test
17
30
18
31
branches :
19
32
only :
20
33
- master
21
34
- /^greenkeeper/.*$/
35
+
36
+ env :
37
+ global :
38
+ - secure : " U7yqHtQrvzNob8YMh9iH34piyr4N0ZoX/G45VUuGlOoXe2gjhwHMAERRISZLtdzHawYu780SZ7g42HP2jsgwXqGGUmxLNMTFY44V19030Fn2QFEIZ30Ni/t0VRpvt1gwiAwRQJlVyKxS4B6qctf6HGm+hS2gQHnGuj4uX9WMZ8A="
You can’t perform that action at this time.
0 commit comments