mirror of
https://github.com/octoleo/restic.git
synced 2024-11-17 10:35:17 +00:00
bff635bc5f
So, `dep` got an nice new feature to remove tests and non-go files from `vendor/`, and this brings the size of the vendor directory from ~300MiB down to ~20MiB. We don that now.
24 lines
357 B
YAML
24 lines
357 B
YAML
language: go
|
|
sudo: false
|
|
|
|
go:
|
|
- "1.8.x"
|
|
- "1.9.x"
|
|
- "1.10"
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
install:
|
|
- go version
|
|
- export GOBIN="$GOPATH/bin"
|
|
- export PATH="$PATH:$GOBIN"
|
|
- go get golang.org/x/sys/unix
|
|
- go get golang.org/x/tools/cmd/goimports
|
|
- go build
|
|
|
|
script:
|
|
- ./.travis.sh
|
|
- diff <(GOPATH="$PWD:$PWD/vendor" goimports -d .) <(printf "")
|