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

share / sharedb / 845
96%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-6
DEFAULT BRANCH: master
Ran 16 Aug 2018 11:24AM UTC
Jobs 3
Files 23
Run time 43s
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
845

Pull #236

travis-ci

web-flow
Allow milestone snapshot saving logic to be overridden in the middleware

This change adds a flag to `SubmitRequest`: `saveMilestoneSnapshot`.
This flag defaults to `null`. If this value is left as `null`, then
milestone snapshots will be written according to the interval set in the
options passed into the provided `MilestoneDB` instance.

The value can be overridden in middleware, like in the test case in this
commit. If the value of `request.saveMilestoneSnapshot` is changed to
a `boolean`, then all interval logic is ignored, and the value of that
flag is used directly to determine if a milestone should be saved.

This allows more complex milestone logic, such as:

  - saving a milestone once per day
  - different intervals depending on collection
  - non-uniform milestone intervals
Pull Request #236: Add Milestone Snapshots

1073 of 1297 branches covered (82.73%)

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

2271 of 2384 relevant lines covered (95.26%)

490.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 845.1 16 Aug 2018 11:24AM UTC 0
95.37
Travis Job 845.1
2 845.2 16 Aug 2018 11:24AM UTC 0
95.26
Travis Job 845.2
3 845.3 16 Aug 2018 11:24AM UTC 0
95.26
Travis Job 845.3
Source Files on build 845
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #845
  • Pull Request #236
  • PR Base - master (#839)
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