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

containous / flaeg / 219
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 03 Dec 2018 09:10AM UTC
Jobs 2
Files 2
Run time 4min
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

01 Dec 2018 09:05PM UTC coverage: 90.103%. First build
219

push

travis-ci

ldez
use ParseInt instead of Atoi for parsing durations (#52)

Flaeg is failing to deserialize durations with values >= to 2^32 on 32 bits architectures.
This is caused by the usage of `Atoi` to parse duration, which returns an `int` not an `int64`.

During a JSON unmarshall of a duration for values >= to 2^32, Atoi will
return an error and flaeg will try to parse the value as a string, which
is going to fail too, causing the unmarshalling to fail.

Using `ParseInt(s, 10, 64)` fixes the problem, as it works on an int64.

610 of 677 relevant lines covered (90.1%)

96.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 219.1 03 Dec 2018 09:10AM UTC 0
90.1
Travis Job 219.1
2 219.2 03 Dec 2018 09:14AM UTC 0
84.64
Travis Job 219.2
Source Files on build 219
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #219
  • c93d194b on github
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