b9f0f031b6
Closes #2129
24 lines
315 B
YAML
24 lines
315 B
YAML
language: go
|
|
sudo: false
|
|
|
|
go:
|
|
- "1.11"
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
before_install:
|
|
- go version
|
|
- export GO111MODULE=on
|
|
- go get golang.org/x/tools/cmd/goimports
|
|
|
|
install:
|
|
- go build
|
|
|
|
script:
|
|
- ./.travis.sh
|
|
- diff <(goimports -d .) <(printf "")
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|