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

share / sharedb / 872
96%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-6
DEFAULT BRANCH: master
Ran 30 Aug 2018 09:12AM UTC
Jobs 3
Files 24
Run time 36s
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
872

push

travis-ci

Alec Gibson
Commonise valid version logic

This change introduces a `util.isValidVersion` method, which is common
between `SnapshotRequest` and `MilestoneDB`, and makes sure we're
consistent in what constitutes a valid version.

We check that versions are either `null` or a positive integer. We
reject `undefined`, based on the idea that `null` means that you meant
to set something to `null`, but with `undefined` that may not be the
case. It's also consistent with the version that can be passed into
`getOps` (ie `null` has the special meaning of "please give me the
latest version").

1090 of 1311 branches covered (83.14%)

12 of 12 new or added lines in 5 files covered. (100.0%)

2294 of 2401 relevant lines covered (95.54%)

399.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 872.1 30 Aug 2018 09:12AM UTC 0
95.54
Travis Job 872.1
2 872.2 30 Aug 2018 09:12AM UTC 0
95.54
Travis Job 872.2
3 872.3 30 Aug 2018 09:13AM UTC 0
95.54
Travis Job 872.3
Source Files on build 872
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #872
  • cb94f33c on github
  • Prev Build on null-milestone-db (#869)
  • Next Build on null-milestone-db (#880)
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