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

NaturalHistoryMuseum / pyzbar / 103
98%
master: 96%

Build:
Build:
LAST BUILD BRANCH: v0.1.9
DEFAULT BRANCH: master
Ran 10 Apr 2019 01:21PM UTC
Jobs 5
Files 13
Run time 3min
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
103

Pull #58

travis-ci

web-flow
changes related to config (see below lines):

Changes:
- added optional config parameter to pyzbar.pyzbar.decode
- the structure is a nested dictionary where the keys are ZBarSymbol objects, and the values are dicts of ZBarConfig-value key-value pairs

Explanation:
I am submitting this PR to accomodate our use case of using I25 barcodes that are only 2 digits. ZBar defaults to a minimum length of 6 for I25 codes, and we had no way to change that in the current pyzbar. While I was in the code, I figured I would make it generic to allow changing any config option(s) for any symbol.

The structure of the config object is admittedly a bit complicated. I decided to make it a nested dict for 2 reasons:
1. to allow changing barcode settings for each individual code rather than for all codes
2. to allow passing only the config object without passing the symbols object
Pull Request #58: Added ability to configure ZBar options per symbol

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

422 of 430 relevant lines covered (98.14%)

4.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 103.1 10 Apr 2019 01:21PM UTC 0
97.21
Travis Job 103.1
2 103.2 10 Apr 2019 01:24PM UTC 0
96.74
Travis Job 103.2
3 103.3 10 Apr 2019 01:21PM UTC 0
96.74
Travis Job 103.3
4 103.4 10 Apr 2019 01:21PM UTC 0
96.74
Travis Job 103.4
5 103.5 10 Apr 2019 01:21PM UTC 0
96.74
Travis Job 103.5
Source Files on build 103
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #103
  • Pull Request #58
  • PR Base - master (#97)
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