Make travis check format, and test it..

This commit is contained in:
Bruce Marriner 2016-06-17 16:28:49 -05:00
parent fb663ac348
commit 90b83fefeb
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ install:
- go get -v .
- go get -v github.com/golang/lint/golint
script:
- diff <(gofmt -d .) <("")
- go vet -x ./...
- golint -set_exit_status ./...
- go test -v -race ./...

View file

@ -1,7 +1,7 @@
package main
import (
"encoding/binary"
"encoding/binary"
"flag"
"fmt"
"io"