2
2
mirror of https://github.com/octoleo/restic.git synced 2024-09-21 03:29:00 +00:00
restic/vendor/github.com/pkg/xattr/.travis.yml
2019-04-24 15:17:48 +02:00

27 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)