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

share / sharedb / 867
96%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-6
DEFAULT BRANCH: master
Ran 30 Aug 2018 07:33AM UTC
Jobs 3
Files 24
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
867

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

2294 of 2401 relevant lines covered (95.54%)

399.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 867.1 30 Aug 2018 07:33AM UTC 0
95.54
Travis Job 867.1
2 867.2 30 Aug 2018 07:33AM UTC 0
95.54
Travis Job 867.2
3 867.3 30 Aug 2018 07:34AM UTC 0
95.54
Travis Job 867.3
Source Files on build 867
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #867
  • cb94f33c on github
  • Prev Build on null-milestone-db (#865)
  • Next Build on null-milestone-db (#869)
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