Files
Addlicense/.travis.yml
alex 84b339fa57 Add Travis CI integration
A simple setup to test on latest release
and one previous version of Go.

Also, run fmt and golint before testing.
2018-12-19 09:27:53 +01:00

14 lines
207 B
YAML

dist: xenial
git:
depth: 3
language: go
go:
- "1.x"
- "1.10.x"
before_script:
- go get golang.org/x/lint/golint
script:
- gofmt -d -e -l -s .
- golint -set_exit_status ./...
- go test -v ./...