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

CKI-project / kpet / 315
88%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2019 09:04PM UTC
Jobs 1
Files 11
Run time 1s
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
315

push

travis-ci-com

major
Handle various patch file encodings v2

Patches are in all kinds of encodings, like cp1252, iso-8859-1, and utf-8.
Detecting them and reacting with decoding is really challenging and leads
to failures fairly regularly.

This patch aims to read in all patches as ASCII and use the surrogateescape
error handler to work around any peculiar characters. This recommendation
came from:

  http://python-notes.curiousefficiency.org/en/latest/python3/text_file_processing.html

It's been tested with all of the existing patches in the Linux stable queue
and it seems to work fine.

Signed-off-by: Major Hayden <major@redhat.com>

204 of 226 branches covered (90.27%)

Branch coverage included in aggregate %.

642 of 682 relevant lines covered (94.13%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 315.1 (TOX_ENV=flake8,pylint) 29 Apr 2019 09:04PM UTC 0
93.17
Travis Job 315.1
Source Files on build 315
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #315
  • 14341157 on github
  • Prev Build on master (#309)
  • Next Build on master (#320)
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