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

jbhannah / amperize / 359 / 2
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 04 Jan 2018 10:48AM UTC
Files 2
Run time 0s
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

04 Jan 2018 10:46AM UTC coverage: 100.0%. Remained the same
359.2

push

travis-ci

kirrg001
Added test for images w/o extensions (#109)

closes #97

Images without extensions don't need to be manipulated, as we're now reading the bytes and pass those to the `image-size` lib.

This PR adds another `user-agent` to emulate multiple browser requests, as I stumbled over an example where the image without extension is protected otherwise.

Added a test, that works with above mentioned image, but is currently mocked. Nevertheless, the image worked as a PoC, that we're able to read the bytes of an image without its extension and still return a valid `amp-img` tag.

Updated the README, as there were some code typos in there 🙈.

67 of 69 branches covered (97.1%)

103 of 103 relevant lines covered (100.0%)

14.16 hits per line

Source Files on job 359.2
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 359
  • Travis Job 359.2
  • 1189b1e9 on github
  • Prev Job for on master (#356.3)
  • Next Job for on master (#361.3)
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