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

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

Build:
Build:
LAST BUILD BRANCH: mongo-8
DEFAULT BRANCH: master
Ran 20 Aug 2018 03:42PM 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
7

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 %.

75 of 75 relevant lines covered (100.0%)

205.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7.1 (MONGODB_VERSION="2.6") 20 Aug 2018 03:43PM UTC 0
100.0
Travis Job 7.1
2 7.2 (MONGODB_VERSION="2.6") 20 Aug 2018 03:42PM UTC 0
100.0
Travis Job 7.2
3 7.3 (MONGODB_VERSION="2.6") 20 Aug 2018 03:42PM UTC 0
100.0
Travis Job 7.3
4 7.4 (MONGODB_VERSION="3.6") 20 Aug 2018 03:42PM UTC 0
100.0
Travis Job 7.4
5 7.5 (MONGODB_VERSION="3.6") 20 Aug 2018 03:42PM UTC 0
100.0
Travis Job 7.5
6 7.6 (MONGODB_VERSION="3.6") 20 Aug 2018 03:43PM UTC 0
100.0
Travis Job 7.6
7 7.7 (MONGODB_VERSION="4.0") 20 Aug 2018 03:44PM UTC 0
100.0
Travis Job 7.7
8 7.8 (MONGODB_VERSION="4.0") 20 Aug 2018 03:44PM UTC 0
100.0
Travis Job 7.8
9 7.9 (MONGODB_VERSION="4.0") 20 Aug 2018 03:44PM UTC 0
100.0
Travis Job 7.9
Source Files on build 7
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7
  • 3c77eb39 on github
  • Prev Build on initial-implementation (#5)
  • Next Build on initial-implementation (#9)
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