k3s/vendor/github.com/gregjones/httpcache/.travis.yml

20 lines
416 B
YAML
Raw Normal View History

2019-01-12 04:58:27 +00:00
sudo: false
language: go
2020-03-26 21:07:15 +00:00
go:
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- master
2019-01-12 04:58:27 +00:00
matrix:
allow_failures:
- go: master
fast_finish: true
install:
- # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
script:
- go get -t -v ./...
2020-03-26 21:07:15 +00:00
- diff -u <(echo -n) <(gofmt -d .)
2019-01-12 04:58:27 +00:00
- go tool vet .
- go test -v -race ./...