Skip to content

Commit c762ee4

Browse files
authored
run tests against mongodb 4.0 (#5250)
* run tests against mongodb 4.0 * Adds compatibility shields
1 parent 315d3bf commit c762ee4

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ env:
2727
global:
2828
- COVERAGE_OPTION='./node_modules/.bin/nyc'
2929
matrix:
30-
- MONGODB_VERSION=3.2.13
31-
- MONGODB_VERSION=3.4.4
30+
- MONGODB_VERSION=4.0.4
31+
- MONGODB_VERSION=3.6.9
3232
- PARSE_SERVER_TEST_DB=postgres
3333
- PARSE_SERVER_TEST_CACHE=redis
3434
- NODE_VERSION=11.4.0

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
[![Join Chat](https://img.shields.io/badge/gitter-join%20chat%20%E2%86%92-brightgreen.svg)](https://gitter.im/ParsePlatform/Chat)
88
[![Greenkeeper badge](https://badges.greenkeeper.io/parse-community/parse-server.svg)](https://greenkeeper.io/)
99

10+
11+
[![](https://img.shields.io/badge/mongodb-3.2-green.svg?logo=mongodb&style=flat)]()
12+
[![](https://img.shields.io/badge/mongodb-3.4-green.svg?logo=mongodb&style=flat)]()
13+
[![](https://img.shields.io/badge/mongodb-3.6-green.svg?logo=mongodb&style=flat)]()
14+
[![](https://img.shields.io/badge/mongodb-4.0-green.svg?logo=mongodb&style=flat)]()
15+
1016
Parse Server is an [open source version of the Parse backend](http://blog.parseplatform.org/announcements/introducing-parse-server-and-the-database-migration-tool/) that can be deployed to any infrastructure that can run Node.js.
1117

1218
Parse Server works with the Express web application framework. It can be added to existing web applications, or run by itself.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
"lint": "flow && eslint --cache ./",
7777
"build": "babel src/ -d lib/ --copy-files",
7878
"watch": "babel --watch src/ -d lib/ --copy-files",
79-
"test": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 jasmine",
80-
"coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 nyc jasmine",
79+
"test": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 jasmine",
80+
"coverage": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=4.0.4} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 nyc jasmine",
8181
"start": "node ./bin/parse-server",
8282
"prepare": "npm run build",
8383
"postinstall": "node -p 'require(\"./postinstall.js\")()'"

0 commit comments

Comments
 (0)