2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-03 10:28:27 +00:00
restic/vendor/github.com/pkg/xattr/.travis.yml

27 lines
428 B
YAML
Raw Normal View History

2017-07-23 12:24:45 +00:00
language: go
sudo: false
go:
2019-04-24 10:32:52 +00:00
- "1.11.x"
2017-07-23 12:24:45 +00:00
os:
- linux
- osx
2019-04-24 10:32:52 +00:00
- windows
2017-07-23 12:24:45 +00:00
2019-01-27 20:07:57 +00:00
before_install:
2017-07-23 12:24:45 +00:00
- go version
2019-01-27 20:07:57 +00:00
- export GO111MODULE=on
2017-07-23 12:24:45 +00:00
- go get golang.org/x/tools/cmd/goimports
2019-01-27 20:07:57 +00:00
install:
2017-07-23 12:24:45 +00:00
- go build
script:
- ./.travis.sh
2019-04-24 10:32:52 +00:00
# goimports on windows gives false positives
- if [[ "${TRAVIS_OS_NAME}" != "windows" ]]; then diff <(goimports -d .) <(printf ""); fi
2019-01-27 20:07:57 +00:00
after_success:
- bash <(curl -s https://codecov.io/bash)