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

jbhannah / amperize / 359
97%

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

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

28.31 hits per line

Jobs
ID Job ID Ran Files Coverage
2 359.2 04 Jan 2018 10:48AM UTC 0
100.0
Travis Job 359.2
3 359.3 04 Jan 2018 10:48AM UTC 0
100.0
Travis Job 359.3
Source Files on build 359
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #359
  • 1189b1e9 on github
  • Prev Build on master (#356)
  • Next Build on master (#361)
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