test 463 B

12345678910111213141516
  1. #!/bin/bash
  2. set -e
  3. # Filter out any files with a !golint build tag.
  4. LINTABLE=$( go list -tags=golint -f '
  5. {{- range $i, $file := .GoFiles -}}
  6. {{ $file }} {{ end }}
  7. {{ range $i, $file := .TestGoFiles -}}
  8. {{ $file }} {{ end }}' github.com/coreos/go-oidc )
  9. go test -v -i -race github.com/coreos/go-oidc/...
  10. go test -v -race github.com/coreos/go-oidc/...
  11. golint -set_exit_status $LINTABLE
  12. go vet github.com/coreos/go-oidc/...
  13. go build -v ./example/...