mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-24 20:40:57 +03:00
Switch to go modules, update travisci for go 1.11
This commit is contained in:
parent
e72af3ad8e
commit
2f227f2571
@ -4,19 +4,17 @@ notifications:
|
||||
language: go
|
||||
|
||||
go:
|
||||
- 1.8
|
||||
- 1.9
|
||||
- 1.11
|
||||
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
- GO111MODULE=on
|
||||
|
||||
install:
|
||||
- go get -t ./...
|
||||
- go get -u github.com/golang/dep
|
||||
- go get github.com/gordonklaus/ineffassign
|
||||
|
||||
script:
|
||||
- diff -u <(echo -n) <(gofmt -d .)
|
||||
- ineffassign .
|
||||
- go vet $(go list ./... | grep -v /vendor/)
|
||||
- go test -v $(go list ./... | grep -v /vendor/)
|
||||
- go test -vet "all" -v ./...
|
||||
|
Loading…
x
Reference in New Issue
Block a user