restic/vendor/github.com/pkg/xattr/.travis.yml

23 lines
320 B
YAML
Raw Normal View History

2017-07-23 12:24:45 +00:00
language: go
sudo: false
go:
- 1.8
- tip
os:
- linux
- osx
install:
- go version
- export GOBIN="$GOPATH/bin"
- export PATH="$PATH:$GOBIN"
- go get golang.org/x/tools/cmd/goimports
- go build
script:
- go vet
- go test -v -race
- diff <(GOPATH="$PWD:$PWD/vendor" goimports -d .) <(printf "")