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

19 lines
479 B
YAML
Raw Normal View History

2019-01-12 04:58:27 +00:00
sudo: false
language: go
matrix:
allow_failures:
- go: master
fast_finish: true
2019-12-12 01:27:03 +00:00
include:
- go: 1.10.x
- go: 1.11.x
env: GOFMT=1
- go: master
2019-01-12 04:58:27 +00:00
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 ./...
2019-12-12 01:27:03 +00:00
- if test -n "${GOFMT}"; then gofmt -w -s . && git diff --exit-code; fi
2019-01-12 04:58:27 +00:00
- go tool vet .
- go test -v -race ./...