restic/vendor/github.com/google/go-cmp/.travis.yml
Alexander Neumann 4c00efd4bf Vendor go-cmp
2018-04-22 11:37:05 +02:00

18 lines
476 B
YAML

sudo: false
language: go
go:
- 1.x
- master
matrix:
include:
- go: 1.6.x
script: go test -v -race ./...
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 (it is intended for this package to have no dependencies other than the standard library).
script:
- diff -u <(echo -n) <(gofmt -d -s .)
- go tool vet .
- go test -v -race ./...