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

mgedmin / mgp2pdf / 37
100%

Build:
DEFAULT BRANCH: master
Ran 05 Dec 2014 10:28AM UTC
Jobs 4
Files 1
Run time 59s
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
37

push

travis-ci

mgedmin
Unify Python 2 and Python 3 output

This is subtle: Python 2 treats / as integer division (i.e. rounds
down).  Python 3 treats it as float division always.  This produces
subtly-different text positions in some cases.  It's hard to see
visually, but PDF comparison tools notice.

By using a __future__ import I avoid future problems like this creeping
back in.

If rounding down is actually desired somewhere, I can use the //
operator.

565 of 565 relevant lines covered (100.0%)

3.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37.1 05 Dec 2014 10:29AM UTC 0
99.65
Travis Job 37.1
2 37.2 05 Dec 2014 10:29AM UTC 0
99.65
Travis Job 37.2
3 37.3 05 Dec 2014 10:29AM UTC 0
100.0
Travis Job 37.3
4 37.4 05 Dec 2014 10:28AM UTC 0
100.0
Travis Job 37.4
Source Files on build 37
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #37
  • 2cc71aca on github
  • Prev Build on master (#36)
  • Next Build on master (#38)
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