Update TravisCI to ignore false positive in btcec.

Also correct format verb found by go vet.
This commit is contained in:
Dave Collins 2015-02-06 10:46:29 -06:00
parent c360543fa9
commit 8134f68a4b
2 changed files with 2 additions and 2 deletions

View File

@ -560,7 +560,7 @@ func TestBaseMultVerify(t *testing.T) {
data := make([]byte, bytes)
_, err := rand.Read(data)
if err != nil {
t.Errorf("failed to read random data for %s", i)
t.Errorf("failed to read random data for %d", i)
continue
}
x, y := s256.ScalarBaseMult(data)

View File

@ -12,7 +12,7 @@ set -e
# Automatic checks
test -z $(gofmt -l -w . | tee /dev/stderr)
test -z $(goimports -l -w . | tee /dev/stderr)
test -z $(golint ./... | grep -v "ALL_CAPS" | grep -v "OP_" | tee /dev/stderr)
test -z $(golint ./... | grep -v "ALL_CAPS" | grep -v "OP_" | grep -v "NewFieldVal" | tee /dev/stderr)
go tool vet -structtags=false .
env GORACE="halt_on_error=1" go test -v -race ./...