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

keybase / saltpack / 203
84%

Build:
DEFAULT BRANCH: master
Ran 19 Mar 2018 04:39PM UTC
Jobs 2
Files 29
Run time 17s
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
203

push

travis-ci

web-flow
Implement a better shuffle (#57)

Copy the shuffle code from go 1.10's math/rand.Shuffle, which is unbiased. Reasons for copying:

- Don't have to deal with the awkwardness of trying to make the shuffle function
  handle errors from crypto/rand.Reader properly. (Or rather, the awkwardness is
  pushed to the less critical testing code.)
- Works with earlier versions of go.
- Low chance of behavior drift, since rand.Shuffle is covered by compatibility
  guarantee.
- Only adds 50 or so lines of non-test code.

Also make as much as possible use `csprngRead` utility function.

Also handle unlikely overflow in receiver count when signcrypting.

Run go vet, golint, and GOARCH=386 tests in CI.

2290 of 2710 relevant lines covered (84.5%)

1.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 203.1 19 Mar 2018 04:40PM UTC 0
84.21
Travis Job 203.1
2 203.2 19 Mar 2018 04:39PM UTC 0
84.5
Travis Job 203.2
Source Files on build 203
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #203
  • 282df216 on github
  • Prev Build on master (#197)
  • Next Build on master (#208)
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