mirror of
https://github.com/willnorris/imageproxy.git
synced 2024-12-16 21:56:43 -05:00
24 lines
402 B
YAML
24 lines
402 B
YAML
language: go
|
|
|
|
go:
|
|
- "1.x"
|
|
- "1.11.x"
|
|
|
|
go_import_path: willnorris.com/go/imageproxy
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/go-build
|
|
- $HOME/gopath/pkg/mod
|
|
|
|
env:
|
|
global:
|
|
- GO111MODULE=on
|
|
|
|
script:
|
|
- diff -u <(echo -n) <(gofmt -d -s .)
|
|
- go vet ./...
|
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|