mirror of
https://github.com/restic/rest-server.git
synced 2026-09-29 07:21:26 -07:00
Update .travis.yml
This commit is contained in:
committed by
Zlatko Čalušić
parent
1d18db96aa
commit
791424a1b7
+16
-1
@@ -3,7 +3,7 @@ sudo: false
|
|||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.7
|
- 1.7.4
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
@@ -17,3 +17,18 @@ branches:
|
|||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
on_success: always
|
on_success: always
|
||||||
|
|
||||||
|
install:
|
||||||
|
- export GOBIN="$GOPATH/bin"
|
||||||
|
- export PATH="$PATH:$GOBIN"
|
||||||
|
- go get -u github.com/golang/lint/golint
|
||||||
|
- go get golang.org/x/tools/cmd/goimports
|
||||||
|
|
||||||
|
script:
|
||||||
|
- go install
|
||||||
|
- go test .
|
||||||
|
- go run build.go -v -T
|
||||||
|
- diff <(goimports -d *.go) <(printf "")
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- diff <(golint *.go) <(printf "")
|
||||||
|
|||||||
Reference in New Issue
Block a user