No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 309B

1234567891011121314
  1. language: go
  2. go:
  3. - 1.7
  4. install:
  5. - go get -u golang.org/x/tools/cmd/goimports
  6. script:
  7. - go get -d -t ./...
  8. - go test ./...
  9. - for i in ./_examples/*/main.go; do go build $i; done
  10. - >
  11. goimports -d -e ./ | grep '.*' && { echo; echo "Aborting due to non-empty goimports output."; exit 1; } || :