File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
3
3
node_js :
4
- - 7
5
- - 6
6
- - 4
7
- - 0.10
4
+ - " 6"
5
+ - " 8"
6
+ - " 10"
8
7
9
8
services :
10
9
- docker
11
10
12
11
env :
13
- - MONGODB_VERSION="2.4"
14
12
- MONGODB_VERSION="2.6"
15
- - MONGODB_VERSION="3.0"
16
- - MONGODB_VERSION="3.2"
17
- - MONGODB_VERSION="3.4"
13
+ - MONGODB_VERSION="3.6"
14
+ - MONGODB_VERSION="4.0"
18
15
19
16
before_install :
20
17
- docker run -d -p 127.0.0.1:27017:27017 mongo:$MONGODB_VERSION
21
18
22
19
before_script :
23
20
- until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done
24
21
25
- # Run twice due to Mongo flakiness
26
- script : " npm run test-cover || npm run test-cover"
22
+ script :
23
+ - npm run test-cover
27
24
28
25
# Send coverage data to Coveralls
29
- after_script : " cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
26
+ after_script :
27
+ - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
You can’t perform that action at this time.
0 commit comments