forked from pothtonswer/discordmuffin
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 github.com/golang/lint/golint
|
||||
script:
|
||||
- diff <(gofmt -d .) <("")
|
||||
- go vet -x ./...
|
||||
- golint -set_exit_status ./...
|
||||
- go test -v -race ./...
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"encoding/binary"
|
||||
"encoding/binary"
|
||||
"flag"
|
||||
"fmt"
|
||||
"io"
|
||||
|
|
Loading…
Reference in a new issue