mirror of
https://github.com/restic/restic.git
synced 2026-08-30 17:27:15 +00:00
Vendor dependencies with dep
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
language: go
|
||||
sudo: false
|
||||
|
||||
go:
|
||||
- 1.8
|
||||
- tip
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
install:
|
||||
- go version
|
||||
- export GOBIN="$GOPATH/bin"
|
||||
- export PATH="$PATH:$GOBIN"
|
||||
- go get golang.org/x/tools/cmd/goimports
|
||||
- go build
|
||||
|
||||
script:
|
||||
- go vet
|
||||
- go test -v -race
|
||||
- diff <(GOPATH="$PWD:$PWD/vendor" goimports -d .) <(printf "")
|
||||
Reference in New Issue
Block a user