mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-12 15:17:16 +03:00
* Switch to go modules, update travisci for go 1.11 * Add go.{mod,sum} * travisci: Merge envs, oops Closes #271
20 lines
269 B
YAML
20 lines
269 B
YAML
notifications:
|
|
email: false
|
|
|
|
language: go
|
|
|
|
go:
|
|
- 1.11
|
|
|
|
env:
|
|
- CGO_ENABLED=0 GO111MODULE=on
|
|
|
|
install:
|
|
- go get -t ./...
|
|
- go get github.com/gordonklaus/ineffassign
|
|
|
|
script:
|
|
- diff -u <(echo -n) <(gofmt -d .)
|
|
- ineffassign .
|
|
- go test -vet "all" -v ./...
|