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

containous / flaeg / 218
90%

Build:
DEFAULT BRANCH: master
Ran 01 Dec 2018 09:06PM UTC
Jobs 2
Files 2
Run time 2min
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%. Remained the same
218

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.

2 of 2 new or added lines in 1 file covered. (100.0%)

610 of 677 relevant lines covered (90.1%)

96.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 218.1 01 Dec 2018 09:06PM UTC 0
90.1
Travis Job 218.1
2 218.2 01 Dec 2018 09:09PM UTC 0
84.64
Travis Job 218.2
Source Files on build 218
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #218
  • c93d194b on github
  • Prev Build on master (#215)
  • Next Build on master (#220)
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