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

anqxyr / mkepub / 52 / 1
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: set-cover-arg-extension
DEFAULT BRANCH: master
Ran 14 Oct 2019 02:35AM 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

14 Oct 2019 02:33AM UTC coverage: 98.98% (+0.02%) from 98.958%
52.1

Pull #11

travis-ci

web-flow
Add optional `extension` keyword argument to set_cover()

Previously, set_cover() would rely on the Python standard module
`imghdr` to determine the type of the specified cover image file.
Unfortunately, imghdr does not support SVG, so set_cover() could
not handle that type (which is permitted by the EPUB spec).

Detecting SVG files programmatically is nontrivial, and is generally
considered to require parsing the file source.

Instead, simply provide an option for the client to specify the file
type with the new keyword argument.
Pull Request #11: Add optional `ext` keyword argument to `set_cover()`

97 of 98 relevant lines covered (98.98%)

0.99 hits per line

Source Files on job 52.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 49
  • Travis Job 52.1
  • f1ff30c9 on github
  • Prev Job for on set-cover-arg-extension (#50.1)
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