Skip to content

Commit cd6b2ed

Browse files
committed
WiredTiger
1 parent 93cc1c2 commit cd6b2ed

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323
global:
2424
- COVERAGE_OPTION='./node_modules/.bin/nyc'
2525
matrix:
26-
- MONGODB_VERSION=4.0.4 MONGODB_TOPOLOGY=replicaset
26+
- MONGODB_VERSION=4.0.4 MONGODB_TOPOLOGY=replicaset MONGODB_STORAGE_ENGINE=wiredtiger
2727
- MONGODB_VERSION=3.6.9
2828
- PARSE_SERVER_TEST_DB=postgres
2929
- PARSE_SERVER_TEST_CACHE=redis
@@ -42,8 +42,10 @@ before_script:
4242
- psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d parse_server_postgres_adapter_test_database
4343
- greenkeeper-lockfile-update
4444
script:
45+
- npm run startmongo
4546
- npm run lint
4647
- npm run coverage
48+
- npm run stopmongo
4749
after_script:
4850
- greenkeeper-lockfile-upload
4951
- bash <(curl -s https://codecov.io/bash)

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@
9595
"lint": "flow && eslint --cache ./",
9696
"build": "babel src/ -d lib/ --copy-files",
9797
"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",
102102
"start": "node ./bin/parse-server",
103103
"prepare": "npm run build",
104104
"postinstall": "node -p 'require(\"./postinstall.js\")()'"

0 commit comments

Comments
 (0)