photoprism-client-go/vendor/github.com/paulmach/go.geojson/.travis.yml
Kris Nóva e4323b6047 Working auth and photo json endpoint
Signed-off-by: Kris Nóva <kris@nivenly.com>
2021-02-09 11:17:06 -08:00

13 lines
355 B
YAML

language: go
go:
- 1.7
- tip
after_script:
- FIXED=$(go vet ./... | wc -l); if [ $FIXED -gt 0 ]; then echo "go vet - $FIXED issues(s), please fix." && exit 2; fi
- FIXED=$(go fmt ./... | wc -l); if [ $FIXED -gt 0 ]; then echo "gofmt - $FIXED file(s) not formatted correctly, please run gofmt to fix this." && exit 2; fi
script:
- go test -v