mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
2d5cd2d1d3
Former-commit-id: 435a3bebf2ac1bbae2f1ed94d596956227141358 [formerly 46e69c9783cb07a9ca6b7bd428a1ab54cff2005b] [formerly 36ed5ea293a4d39d161bffed5b18a1d7f1a0d5c1 [formerly 3434090a7c
]]
Former-commit-id: d5bc8f96b631af8d440438c1a089e710ae09a47a [formerly f447c0c7031af05129bf7c45b6c87168a365738d]
Former-commit-id: 627ac93b54b236e20d552486d125cef813eaf9e5
23 lines
627 B
YAML
23 lines
627 B
YAML
language: go
|
|
|
|
go: 1.8.3
|
|
|
|
env:
|
|
- "PATH=/home/travis/gopath/bin:$PATH"
|
|
|
|
install:
|
|
- go get ./...
|
|
# Install gometalinter and certain linters
|
|
- 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:
|
|
- gometalinter --disable-all -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --exclude="rice-box.go" --tests ./...
|
|
- go test ./... -timeout 30s
|
|
|
|
after_success:
|
|
- test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
|