mtfosbot/vendor/github.com/gorilla/sessions/.travis.yml
2018-11-16 11:10:19 +08:00

29 lines
474 B
YAML

language: go
sudo: false
matrix:
include:
- go: 1.3.x
- go: 1.4.x
- go: 1.5.x
- go: 1.6.x
- go: 1.7.x
- go: 1.8.x
- go: 1.9.x
- go: 1.10.x
- go: 1.11.x
- go: 1.x
env: LATEST=true
- go: tip
allow_failures:
- go: tip
install:
- # skip
script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d .)
- if [[ "$LATEST" = true ]]; then go vet $(go list ./... | grep -v /vendor/); fi
- go test -v -race ./...