mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-05-13 21:46:35 +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
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.8
|
- 1.11
|
||||||
- 1.9
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
|
- GO111MODULE=on
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go get -t ./...
|
- go get -t ./...
|
||||||
- go get -u github.com/golang/dep
|
|
||||||
- go get github.com/gordonklaus/ineffassign
|
- go get github.com/gordonklaus/ineffassign
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- diff -u <(echo -n) <(gofmt -d .)
|
- diff -u <(echo -n) <(gofmt -d .)
|
||||||
- ineffassign .
|
- ineffassign .
|
||||||
- go vet $(go list ./... | grep -v /vendor/)
|
- go test -vet "all" -v ./...
|
||||||
- go test -v $(go list ./... | grep -v /vendor/)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user