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

CKI-project / kpet / 315 / 1
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2019 09:04PM UTC
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

29 Apr 2019 09:02PM UTC coverage: 93.172% (-0.02%) from 93.194%
TOX_ENV=flake8,pylint

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

Source Files on job 315.1 (TOX_ENV=flake8,pylint)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 188
  • Travis Job 315.1
  • 14341157 on github
  • Prev Job for TOX_ENV=flake8,pylint on master (#309.1)
  • Next Job for TOX_ENV=flake8,pylint on master (#320.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