Add Travis-CI and CodeCov.io integrations.#196
Merged
Conversation
Contributor
Author
|
This is currently waiting on tests to stabilize before merging, and I'll enable Travis-CI integration as soon as we are ready to merge this. |
Closed
6611a25 to
c0f5c40
Compare
c0f5c40 to
e5911d3
Compare
nlutsenko
added a commit
that referenced
this pull request
Feb 3, 2016
Add Travis-CI and CodeCov.io integrations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the following:
E.g. https://travis-ci.org/nlutsenko/parse-server/builds/106656352
envarray.E.g. https://codecov.io/github/nlutsenko/parse-server?branch=nlutsenko.travis
mongodb-runnernpm module, which starts a mongo on pretest/posttest, so we can ensure mongo is always there locally whenever tests are run.Few benchmarks:
https://travis-ci.org/nlutsenko/parse-server/jobs/106656353
https://travis-ci.org/nlutsenko/parse-server/builds/106656352
The only flow change here is that to run tests - we enforce running mongo via
mongodb-runner, which I still feel is absolutely fine and the best thing we could do, since it's somewhat a best practice.Please keep in mind - that this runner is never used in a non-dev environment, but is only installed and used when developing per
devDependenciessection of package.json.This superseeds and closes #30.