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

agronholm / cbor2 / 117
95%

Build:
DEFAULT BRANCH: master
Ran 12 Nov 2018 09:58AM UTC
Jobs 5
Files 5
Run time 1min
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
117

push

travis-ci

web-flow
Fix for #26: handle overflow exceptions properly... (#27)

* Fix for #26: handle overflow exceptions properly and try a better encoding.

* More efficient encoding of floats

Follows recommendation in _draft_ CBOR spec:

https://tools.ietf.org/html/draft-ietf-cbor-7049bis-04#page-32

   If a protocol allows for IEEE floats, then additional
   canonicalization rules might need to be added.  One example rule
   might be to have all floats start as a 64-bit float, then do a test
   conversion to a 32-bit float; if the result is the same numeric
   value, use the shorter value and repeat the process with a test
   conversion to a 16-bit float.  (This rule selects 16-bit float for
   positive and negative Infinity as well.)  Also, there are many
   representations for NaN.  If NaN is an allowed value, it must always
   be represented as 0xf97e00.

* Explicitly test float16 packing to improve coverage

* Exclude empty compat functions from coverage report

25 of 25 new or added lines in 3 files covered. (100.0%)

534 of 535 relevant lines covered (99.81%)

4.69 hits per line

Jobs
ID Job ID Ran Files Coverage
4 117.4 (TOXENV=py27) 12 Nov 2018 09:58AM UTC 0
97.38
Travis Job 117.4
5 117.5 (TOXENV=py34) 12 Nov 2018 09:58AM UTC 0
96.07
Travis Job 117.5
6 117.6 (TOXENV=py35) 12 Nov 2018 09:58AM UTC 0
96.07
Travis Job 117.6
7 117.7 (TOXENV=py36) 12 Nov 2018 09:59AM UTC 0
89.91
Travis Job 117.7
8 117.8 (TOXENV=py37) 12 Nov 2018 09:59AM UTC 0
89.91
Travis Job 117.8
Source Files on build 117
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #117
  • b1615225 on github
  • Prev Build on master (#116)
  • Next Build on master (#119)
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