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

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

Build:
Build:
LAST BUILD BRANCH: mongo-8
DEFAULT BRANCH: master
Ran 20 Aug 2018 02:03PM UTC
Jobs 9
Files 1
Run time 1min
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
5

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 5.1 (MONGODB_VERSION="2.6") 20 Aug 2018 02:03PM UTC 0
100.0
Travis Job 5.1
2 5.2 (MONGODB_VERSION="2.6") 20 Aug 2018 02:03PM UTC 0
100.0
Travis Job 5.2
3 5.3 (MONGODB_VERSION="2.6") 20 Aug 2018 02:04PM UTC 0
100.0
Travis Job 5.3
4 5.4 (MONGODB_VERSION="3.6") 20 Aug 2018 02:03PM UTC 0
100.0
Travis Job 5.4
5 5.5 (MONGODB_VERSION="3.6") 20 Aug 2018 02:03PM UTC 0
100.0
Travis Job 5.5
6 5.6 (MONGODB_VERSION="3.6") 20 Aug 2018 02:04PM UTC 0
100.0
Travis Job 5.6
7 5.7 (MONGODB_VERSION="4.0") 20 Aug 2018 02:05PM UTC 0
100.0
Travis Job 5.7
8 5.8 (MONGODB_VERSION="4.0") 20 Aug 2018 02:05PM UTC 0
100.0
Travis Job 5.8
9 5.9 (MONGODB_VERSION="4.0") 20 Aug 2018 02:05PM UTC 0
100.0
Travis Job 5.9
Source Files on build 5
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5
  • bb7258b7 on github
  • Prev Build on initial-implementation (#3)
  • Next Build on initial-implementation (#7)
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