photoprism-client-go/vendor/github.com/gosimple/slug/.travis.yml

21 lines
378 B
YAML

language: go
go:
- "1.x"
- master
matrix:
allow_failures:
- go: master
fast_finish: true
before_script:
- go get -t -v ./...
- go get -v golang.org/x/lint/golint
- go get -v honnef.co/go/tools/cmd/staticcheck
- go vet ./...
script:
# run all our tests with race detector
- go test -v -race ./...
# "go vet on steroids" + linter
- staticcheck ./...