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

anqxyr / mkepub / 42
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: set-cover-arg-extension
DEFAULT BRANCH: master
Ran 12 Oct 2019 02:47AM UTC
Jobs 2
Files 4
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
42

Pull #11

travis-ci

web-flow
Add optional `ext` 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()`

27 of 27 new or added lines in 2 files covered. (100.0%)

189 of 192 relevant lines covered (98.44%)

1.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42.1 12 Oct 2019 02:47AM UTC 0
98.44
Travis Job 42.1
2 42.2 12 Oct 2019 02:47AM UTC 0
98.44
Travis Job 42.2
Source Files on build 42
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #42
  • Pull Request #11
  • PR Base - master (#36)
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