mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-22 02:15:45 +03:00
Merge branch 'master' into macros
This commit is contained in:
commit
91a60a8d25
2 changed files with 4 additions and 10 deletions
|
@ -25,14 +25,11 @@ install:
|
||||||
- go get -t ./...
|
- go get -t ./...
|
||||||
- go get github.com/golang/lint/golint
|
- go get github.com/golang/lint/golint
|
||||||
- go get github.com/FiloSottile/vendorcheck
|
- go get github.com/FiloSottile/vendorcheck
|
||||||
# Install gometalinter and certain linters
|
# Install gometalinter
|
||||||
- go get github.com/alecthomas/gometalinter
|
- go get github.com/alecthomas/gometalinter
|
||||||
- go get github.com/client9/misspell/cmd/misspell
|
|
||||||
- go get github.com/gordonklaus/ineffassign
|
|
||||||
- go get golang.org/x/tools/cmd/goimports
|
|
||||||
- go get github.com/tsenart/deadcode
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- gometalinter --install
|
||||||
- gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...
|
- gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...
|
||||||
- vendorcheck ./...
|
- vendorcheck ./...
|
||||||
- go test -race ./...
|
- go test -race ./...
|
||||||
|
|
|
@ -20,16 +20,13 @@ install:
|
||||||
- go get -t ./...
|
- go get -t ./...
|
||||||
- go get github.com/golang/lint/golint
|
- go get github.com/golang/lint/golint
|
||||||
- go get github.com/FiloSottile/vendorcheck
|
- go get github.com/FiloSottile/vendorcheck
|
||||||
# Install gometalinter and certain linters
|
# Install gometalinter
|
||||||
- go get github.com/alecthomas/gometalinter
|
- go get github.com/alecthomas/gometalinter
|
||||||
- go get github.com/client9/misspell/cmd/misspell
|
|
||||||
- go get github.com/gordonklaus/ineffassign
|
|
||||||
- go get golang.org/x/tools/cmd/goimports
|
|
||||||
- go get github.com/tsenart/deadcode
|
|
||||||
|
|
||||||
build: off
|
build: off
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
|
- gometalinter --install
|
||||||
- gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...
|
- gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...
|
||||||
- vendorcheck ./...
|
- vendorcheck ./...
|
||||||
- go test -race ./...
|
- go test -race ./...
|
||||||
|
|
Loading…
Reference in a new issue