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

qunitjs / qunit / 3184
89%
main: 90%

Build:
Build:
LAST BUILD BRANCH: 2.x
DEFAULT BRANCH: main
Ran 12 Jan 2021 04:10AM UTC
Jobs 1
Files 29
Run time 5s
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
3184

push

travis-ci-com

web-flow
Build: Avoid non-deterministic timestamp in published builds

Make QUnit releases deterministic by embedding a known date
instead of the "current" date and time.

Adopt the standard mechanism for this based on
<https://reproducible-builds.org/docs/source-date-epoch/> which
involves an environment variable named `SOURCE_DATE_EPOCH` set
to a UNIX timestamp. This requires one line of code to then
reformat to the ISO date were prefer, but this seems worth it.

In an earlier iteration on this patch, I had the Git CLI format
it that way from the start, like so:

```
QUNIT_RELEASE_DATE="$(git show -s --format=%cd --date=short HEAD)"
//> 2021-01-09
```

Instead, we use:

```
SOURCE_DATE_EPOCH="$(git log -s --format=%at -1)"
//> 1610349865
```

... and dist-replace.js reformats it as needed.

Also add a badge to the README, inspired by
<https://github.com/jvm-repo-rebuild/reproducible-central>, but
with improved color contrast, using the same dark blue as for
the reproducible-builds.org logo, and the same green as used for
other "success" badges (e.g. CI, license check, etc.)

Fixes https://github.com/qunitjs/qunit/issues/1538.

1176 of 1434 branches covered (82.01%)

2085 of 2335 relevant lines covered (89.29%)

348.86 hits per line

Jobs
ID Job ID Ran Files Coverage
7 3184.7 12 Jan 2021 04:10AM UTC 0
89.29
Travis Job 3184.7
Source Files on build 3184
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3184
  • 6ea16c76 on github
  • Prev Build on master (#3180)
  • Next Build on master (#3186)
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