mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
Update Travis
This commit is contained in:
11
.travis.yml
11
.travis.yml
@@ -1,3 +1,4 @@
|
||||
---
|
||||
os: linux
|
||||
sudo: false
|
||||
language: go
|
||||
@@ -19,13 +20,17 @@ notifications:
|
||||
install:
|
||||
- export GOBIN="$GOPATH/bin"
|
||||
- export PATH="$PATH:$GOBIN"
|
||||
- go get -u github.com/golang/lint/golint
|
||||
- export GO111MODULE=on
|
||||
- export GOPROXY=https://proxy.golang.org
|
||||
- go get -u golang.org/x/lint/golint
|
||||
- go get golang.org/x/tools/cmd/goimports
|
||||
- go get github.com/restic/calens
|
||||
|
||||
script:
|
||||
- go install
|
||||
- go test -v . ./cmd/rest-server
|
||||
- export GO111MODULE=on
|
||||
- export GOPROXY=https://proxy.golang.org
|
||||
- go build ./cmd/rest-server
|
||||
- go test ./...
|
||||
- go run build.go -v -T
|
||||
- diff <(goimports -d *.go) <(printf "")
|
||||
- calens
|
||||
|
||||
Reference in New Issue
Block a user