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