• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

share / sharedb-milestone-mongo / 3
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: mongo-8
DEFAULT BRANCH: master
Ran 20 Aug 2018 09:32AM UTC
Jobs 9
Files 1
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3

push

travis-ci

Alec Gibson
Initial implementation

This is an initial implementation of ShareDB's [`MilestoneDB`][1]. The
bare bones of `MongoMilestoneDB` connection logic are based on the
[`sharedb-mongo`][2] database adapter.

This adapter is a slight departure from other ShareDB code, as it is
written in ES6. This is because this code is server-side-only, so we
don't need to support legacy browsers and all LTS Node versions support
ES6. The move should ease maintenance and understanding of asynchronous
code through the use of `Promise`s, which the [`mongodb`][3] library
supports out of the box.

This library notably uses v2 of `mongodb` instead of the newer v3. This
is to stay consistent with `sharedb-mongo`, so in theory the same config
(or style of config) can be used in both `sharedb-mongo` and in
`sharedb-milestone-mongo`.

We also introduce usage of [`eslint`][4] instead of [`jshint`][5], which
is used in other projects. `eslint` supports a much, much wider range of
style rules and helps to maintain a uniform coding style.

[1]: share/sharedb#236
[2]: share/sharedb-mongo
[3]: mongodb.github.io/node-mongodb-native
[4]: https://eslint.org/
[5]: http://jshint.com/

34 of 34 branches covered (100.0%)

Branch coverage included in aggregate %.

72 of 72 relevant lines covered (100.0%)

203.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3.1 (MONGODB_VERSION="2.6") 20 Aug 2018 09:33AM UTC 0
100.0
Travis Job 3.1
2 3.2 (MONGODB_VERSION="2.6") 20 Aug 2018 09:32AM UTC 0
100.0
Travis Job 3.2
3 3.3 (MONGODB_VERSION="2.6") 20 Aug 2018 09:32AM UTC 0
100.0
Travis Job 3.3
4 3.4 (MONGODB_VERSION="3.6") 20 Aug 2018 09:33AM UTC 0
100.0
Travis Job 3.4
5 3.5 (MONGODB_VERSION="3.6") 20 Aug 2018 09:32AM UTC 0
100.0
Travis Job 3.5
6 3.6 (MONGODB_VERSION="3.6") 20 Aug 2018 09:33AM UTC 0
100.0
Travis Job 3.6
7 3.7 (MONGODB_VERSION="4.0") 20 Aug 2018 09:33AM UTC 0
100.0
Travis Job 3.7
8 3.8 (MONGODB_VERSION="4.0") 20 Aug 2018 09:34AM UTC 0
100.0
Travis Job 3.8
9 3.9 (MONGODB_VERSION="4.0") 20 Aug 2018 09:34AM UTC 0
100.0
Travis Job 3.9
Source Files on build 3
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3
  • 7988cb4d on github
  • Next Build on initial-implementation (#5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc