mirror of
https://github.com/octoleo/restic.git
synced 2024-12-02 09:58:25 +00:00
27 lines
428 B
YAML
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)
|