restic/vendor/github.com/pkg/xattr/.travis.yml
2019-04-24 15:17:48 +02:00

26 lines
428 B
YAML

language: go
sudo: false
go:
- "1.11.x"
os:
- linux
- osx
- windows
before_install:
- go version
- export GO111MODULE=on
- go get golang.org/x/tools/cmd/goimports
install:
- go build
script:
- ./.travis.sh
# goimports on windows gives false positives
- if [[ "${TRAVIS_OS_NAME}" != "windows" ]]; then diff <(goimports -d .) <(printf ""); fi
after_success:
- bash <(curl -s https://codecov.io/bash)