File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,11 @@ language: node_js
55node_js :
66 - " 4.3"
77env :
8- - MONGODB_VERSION=2.6.11
9- - MONGODB_VERSION=3.0.8
8+ global :
9+ - CODE_COVERAGE=1
10+ matrix :
11+ - MONGODB_VERSION=2.6.11
12+ - MONGODB_VERSION=3.0.8
1013cache :
1114 directories :
1215 - $HOME/.mongodb/versions/downloads
Original file line number Diff line number Diff line change 5656 "dev" : " npm run build && bin/dev" ,
5757 "build" : " ./node_modules/.bin/babel src/ -d lib/" ,
5858 "pretest" : " cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.0.8} ./node_modules/.bin/mongodb-runner start" ,
59- "test" : " cross-env NODE_ENV=test TESTING=1 ./node_modules/.bin/babel-node ./node_modules/babel-istanbul/lib/cli.js cover -x **/spec/** ./node_modules/jasmine/bin/jasmine.js" ,
59+ "test" : " cross-env NODE_ENV=test TESTING=1 ./node_modules/.bin/babel-node $([[ $CODE_COVERAGE == 1 ]] && echo ' ./node_modules/babel-istanbul/lib/cli.js cover -x **/spec/**') ./node_modules/jasmine/bin/jasmine.js" ,
6060 "posttest" : " mongodb-runner stop" ,
6161 "start" : " ./bin/parse-server" ,
6262 "prepublish" : " npm run build"
You can’t perform that action at this time.
0 commit comments