language: go

install:
  - go get golang.org/x/tools/cmd/vet
  - go get github.com/golang/lint/golint
  - go install .

script:
  - esc -o static.go main.go
  - go vet .
  - LINT=$(golint .) && echo $LINT
  - test -z "$LINT"
  - GOFMT=$(gofmt -s -d .) && echo $GOFMT
  - test -z "$GOFMT"
Test for lint, vet, and fmt problems with Travis CI
Test for lint, vet, and fmt problems with Travis CI
