Merge pull request #196 from ParsePlatform/nlutsenko.travis
Add Travis-CI and CodeCov.io integrations.
This commit is contained in:
10
.travis.yml
Normal file
10
.travis.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "4.1"
|
||||||
|
- "4.2"
|
||||||
|
env:
|
||||||
|
- MONGODB_VERSION=3.0.8
|
||||||
|
after_success: ./node_modules/.bin/codecov
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
## parse-server
|
## parse-server
|
||||||
|
|
||||||
|
[](https://travis-ci.org/ParsePlatform/parse-server)
|
||||||
|
[](https://codecov.io/github/ParsePlatform/parse-server?branch=master)
|
||||||
|
|
||||||
A Parse.com API compatible router package for Express
|
A Parse.com API compatible router package for Express
|
||||||
|
|
||||||
Read the announcement blog post here: http://blog.parse.com/announcements/introducing-parse-server-and-the-database-migration-tool/
|
Read the announcement blog post here: http://blog.parse.com/announcements/introducing-parse-server-and-the-database-migration-tool/
|
||||||
|
|||||||
@@ -22,11 +22,15 @@
|
|||||||
"request": "^2.65.0"
|
"request": "^2.65.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"codecov": "^1.0.1",
|
||||||
"istanbul": "^0.4.2",
|
"istanbul": "^0.4.2",
|
||||||
"jasmine": "^2.3.2"
|
"jasmine": "^2.3.2",
|
||||||
|
"mongodb-runner": "^3.1.15"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "TESTING=1 ./node_modules/.bin/istanbul cover --include-all-sources ./node_modules/.bin/jasmine"
|
"pretest": "MONGODB_VERSION=${MONGODB_VERSION:=3.0.8} mongodb-runner start",
|
||||||
|
"test": "TESTING=1 ./node_modules/.bin/istanbul cover --include-all-sources -x **/spec/** ./node_modules/.bin/jasmine",
|
||||||
|
"posttest": "mongodb-runner stop"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=4.1"
|
"node": ">=4.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user