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

Squarespace / datasheets
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: prod_master
DEFAULT BRANCH: master
Repo Added 28 May 2018 07:02PM UTC
Files 7
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

LAST BUILD ON BRANCH zcm/switch_coveralls_image_url
branch: zcm/switch_coveralls_image_url
CHANGE BRANCH
x
Reset
  • zcm/switch_coveralls_image_url
  • 0.1.3
  • 0.2.0
  • 0.3.0
  • 5-switch-to-google-auth
  • master
  • prod_master

pending completion
53

Pull #10

travis-ci

web-flow
Add query param to get around Github cache issue

Github caches resources. This causes issues with badges. The specific
example here was a Coveralls result saying we have 0% test coverage,
which then became the cached badge result for our README page. Even
though we re-ran Travis to get the correct code coverage amount (96%),
we can't get the 0% badge to go away, even when clearing the local
browser cache. Again, this is because it is actually Github itself that
is caching the resources. According to the Coveralls issue below, one
solution is to use query string params. Even with static query string
parameters, there is a tendency for them to invalidate cache resources,
so we'll give that a shot.

This will likely work in the short-term regardless: this is a different
resource URL so Github's cache will be invalid. As a result, we won't
actually know if this solves the real issue until a similar situation
arises in the future.

Issue mentioned above:
    https://github.com/lemurheavy/coveralls-public/issues/971
Pull Request #10: Add query param to get around Github cache issue

480 of 502 relevant lines covered (95.62%)

1.91 hits per line

Relevant lines Covered
Build:
Build:
502 RELEVANT LINES 480 COVERED LINES
1.91 HITS PER LINE
Source Files on zcm/switch_coveralls_image_url
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
53 zcm/switch_coveralls_image_url Add query param to get around Github cache issue Github caches resources. This causes issues with badges. The specific example here was a Coveralls result saying we have 0% test coverage, which then became the cached badge result for our README p... Pull #10 01 Jul 2018 03:46PM UTC web-flow travis-ci pending completion  
52 zcm/switch_coveralls_image_url Add query param to get around Github cache issue Github caches resources. This causes issues with badges. The specific example here was a Coveralls result saying we have 0% test coverage, which then became the cached badge result for our README p... push 01 Jul 2018 03:45PM UTC zcmarine travis-ci pending completion  
See All Builds (68)
  • Repo on GitHub
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

© 2025 Coveralls, Inc