mirror of
https://github.com/octoleo/restic.git
synced 2024-12-04 19:03:46 +00:00
b9f0f031b6
Closes #2129
25 lines
315 B
YAML
25 lines
315 B
YAML
language: go
|
|
sudo: false
|
|
|
|
go:
|
|
- "1.11"
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
before_install:
|
|
- go version
|
|
- export GO111MODULE=on
|
|
- go get golang.org/x/tools/cmd/goimports
|
|
|
|
install:
|
|
- go build
|
|
|
|
script:
|
|
- ./.travis.sh
|
|
- diff <(goimports -d .) <(printf "")
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|