File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 23
23
global :
24
24
- COVERAGE_OPTION='./node_modules/.bin/nyc'
25
25
matrix :
26
- - MONGODB_VERSION=4.0.4 MONGODB_TOPOLOGY=replicaset
26
+ - MONGODB_VERSION=4.0.4 MONGODB_TOPOLOGY=replicaset MONGODB_STORAGE_ENGINE=wiredtiger
27
27
- MONGODB_VERSION=3.6.9
28
28
- PARSE_SERVER_TEST_DB=postgres
29
29
- PARSE_SERVER_TEST_CACHE=redis
@@ -42,8 +42,10 @@ before_script:
42
42
- psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d parse_server_postgres_adapter_test_database
43
43
- greenkeeper-lockfile-update
44
44
script :
45
+ - npm run startmongo
45
46
- npm run lint
46
47
- npm run coverage
48
+ - npm run stopmongo
47
49
after_script :
48
50
- greenkeeper-lockfile-upload
49
51
- bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 95
95
"lint" : " flow && eslint --cache ./" ,
96
96
"build" : " babel src/ -d lib/ --copy-files" ,
97
97
"watch" : " babel --watch src/ -d lib/ --copy-files" ,
98
- "pretest " : " mongodb-runner start" ,
99
- "test" : " cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 jasmine" ,
100
- "posttest " : " mongodb-runner stop" ,
101
- "coverage" : " cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 nyc jasmine" ,
98
+ "startmongo " : " mongodb-runner start" ,
99
+ "test" : " cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:= mmapv1} TESTING=1 jasmine" ,
100
+ "stopmongo " : " mongodb-runner stop" ,
101
+ "coverage" : " cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_STORAGE_ENGINE=${MONGODB_STORAGE_ENGINE:= mmapv1} TESTING=1 nyc jasmine" ,
102
102
"start" : " node ./bin/parse-server" ,
103
103
"prepare" : " npm run build" ,
104
104
"postinstall" : " node -p 'require(\" ./postinstall.js\" )()'"
You can’t perform that action at this time.
0 commit comments