2015-05-05 06:42:30 -07:00
|
|
|
language: go
|
2015-12-07 23:19:01 -08:00
|
|
|
|
2019-03-22 07:40:42 +00:00
|
|
|
go:
|
|
|
|
- "1.x"
|
|
|
|
- "1.11.x"
|
2018-09-15 16:14:06 +00:00
|
|
|
|
2017-09-23 19:11:55 +00:00
|
|
|
go_import_path: willnorris.com/go/imageproxy
|
2015-05-05 06:42:30 -07:00
|
|
|
|
2019-03-22 07:40:42 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/go-build
|
|
|
|
- $HOME/gopath/pkg/mod
|
2018-09-15 16:14:06 +00:00
|
|
|
|
2019-03-22 07:40:42 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GO111MODULE=on
|
2019-03-22 08:09:51 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- diff -u <(echo -n) <(gofmt -d -s .)
|
|
|
|
- go vet ./...
|
2019-03-22 08:12:18 +00:00
|
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|