Skip to content

Commit

Permalink
Merge a2afdd7 into 290118f
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffallen committed Jan 24, 2019
2 parents 290118f + a2afdd7 commit 73d830e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
language: go
sudo: false
go:
- tip
- "1.11.x"

go_import_path: go.dedis.ch/fixbuf

install:
- go get -t ./...
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls


script:
- $HOME/gopath/bin/goveralls -service=travis-ci

Expand Down
2 changes: 1 addition & 1 deletion encoding.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fixbuf
package fixbuf // import "go.dedis.ch/fixbuf"

import (
"encoding/binary"
Expand Down
9 changes: 6 additions & 3 deletions fuzz.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
// To fuzz-test this package:
//
// $ go get github.com/dvyukov/go-fuzz/go-fuzz
// $ go get github.com/dvyukov/go-fuzz/go-fuzz-build
// $ go-fuzz-build github.com/dedis/fixbuf
// $ go get -u github.com/dvyukov/go-fuzz/go-fuzz
// $ go get -u github.com/dvyukov/go-fuzz/go-fuzz-build
// $ cd `go env GOPATH`
// $ go-fuzz-build go.dedis.ch/fixbuf
// $ go-fuzz -workdir=workdir -bin fixbuf-fuzz.zip
//
// See also: https://medium.com/@dgryski/go-fuzz-github-com-arolek-ase-3c74d5a3150c
// The cd to $GOPATH is required as a workaround for:
// https://github.com/dvyukov/go-fuzz/issues/195

// +build gofuzz

Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module go.dedis.ch/fixbuf

0 comments on commit 73d830e

Please sign in to comment.