Make travis check format, and test it..
This commit is contained in:
parent
fb663ac348
commit
90b83fefeb
2 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ install:
|
||||||
- go get -v .
|
- go get -v .
|
||||||
- go get -v github.com/golang/lint/golint
|
- go get -v github.com/golang/lint/golint
|
||||||
script:
|
script:
|
||||||
|
- diff <(gofmt -d .) <("")
|
||||||
- go vet -x ./...
|
- go vet -x ./...
|
||||||
- golint -set_exit_status ./...
|
- golint -set_exit_status ./...
|
||||||
- go test -v -race ./...
|
- go test -v -race ./...
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
|
Loading…
Reference in a new issue