filebrowser/.travis.yml
Henrique Dias 7bb2d37661 Update go
Former-commit-id: 7fdfbb8a060347083dbdc09d75ff29e2d2f6e4fc [formerly 6488a2e3d0a7331695534c92618ba27d3a381755] [formerly b2f1e8a90aeac88f499fb05bf666a196313b05d8 [formerly 03dcfa0d08]]
Former-commit-id: 6ff6ccc26b92eb6233b25f20318847c5c0366c66 [formerly bd4c23fb1171d6ba1c8c410ebb7a210662ccea19]
Former-commit-id: d5d22720b2cd0a8e92ca337230142ef729ce63b1
2017-07-29 19:38:47 +01:00

23 lines
634 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 vet -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