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

anqxyr / mkepub / 52
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: set-cover-arg-extension
DEFAULT BRANCH: master
Ran 14 Oct 2019 02:35AM UTC
Jobs 2
Files 2
Run time 7s
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
52

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()`

4 of 4 new or added lines in 1 file covered. (100.0%)

97 of 98 relevant lines covered (98.98%)

1.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 52.1 14 Oct 2019 02:35AM UTC 0
98.98
Travis Job 52.1
2 52.2 14 Oct 2019 02:35AM UTC 0
98.98
Travis Job 52.2
Source Files on build 52
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #52
  • Pull Request #11
  • PR Base - master (#50)
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