File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change
1
+ branches :
2
+ only :
3
+ - master
4
+ language : node_js
5
+ node_js :
6
+ - " 4.1"
7
+ - " 4.2"
8
+ env :
9
+ - MONGODB_VERSION=3.0.8
10
+ after_script : cat ./coverage/coverage-final.json
Original file line number Diff line number Diff line change 23
23
},
24
24
"devDependencies" : {
25
25
"istanbul" : " ^0.4.2" ,
26
- "jasmine" : " ^2.3.2"
26
+ "jasmine" : " ^2.3.2" ,
27
+ "mongodb-runner" : " ^3.1.15"
27
28
},
28
29
"scripts" : {
29
- "test" : " TESTING=1 ./node_modules/.bin/istanbul cover --include-all-sources ./node_modules/.bin/jasmine"
30
+ "pretest" : " MONGODB_VERSION=${MONGODB_VERSION:=3.0.8} mongodb-runner start" ,
31
+ "test" : " TESTING=1 ./node_modules/.bin/istanbul cover --include-all-sources ./node_modules/.bin/jasmine" ,
32
+ "posttest" : " mongodb-runner stop"
30
33
},
31
34
"engines" : {
32
35
"node" : " >=4.1"
You can’t perform that action at this time.
0 commit comments