Files
redoctober/.travis.yml
Kyle Isom 0b506b14ed Don't vet vendored code.
Ideally, it would be vettable. Ideally, *this* codebase would be
golintable. But, here we are, and neither ideal matches reality. C'est
la vie.
2016-08-16 15:37:49 -07:00

23 lines
754 B
YAML

sudo: false
language: go
go: 1.6
script:
- go get github.com/modocache/gover
- go get github.com/prometheus/client_golang/...
- go get github.com/cloudflare/redoctober
- go test github.com/cloudflare/redoctober/...
- go list github.com/cloudflare/redoctober/... | grep -v vendor | xargs go vet
- ./scripts/validate-html-generation
- go list -f '{{if len .TestGoFiles}}"go test -coverprofile={{.Dir}}/.coverprofile {{.ImportPath}}"{{end}}' ./... | xargs -i sh -c {}
- gover . coverprofile.txt
after_success:
- bash <(curl -s https://codecov.io/bash) -f coverprofile.txt
notifications:
email:
recipients:
- nick@cloudflare.com
- kyle@cloudflare.com
- zi@cloudflare.com
on_success: never
on_failure: change