travis: run CI builds against multiple Go versions

This commit is contained in:
Péter Szilágyi 2016-05-04 19:45:50 +03:00
parent 2d7d7ef2fe
commit bc3b406bff
1 changed files with 5 additions and 3 deletions

View File

@ -1,10 +1,12 @@
language: go language: go
go: go:
- 1.4.2 - 1.4.2
- 1.5.4
- 1.6.2
install: install:
# - go get code.google.com/p/go.tools/cmd/goimports # - go get code.google.com/p/go.tools/cmd/goimports
# - go get github.com/golang/lint/golint # - go get github.com/golang/lint/golint
# - go get golang.org/x/tools/cmd/vet # - go get golang.org/x/tools/cmd/vet
- go get golang.org/x/tools/cmd/cover - go get golang.org/x/tools/cmd/cover
before_script: before_script:
# - gofmt -l -w . # - gofmt -l -w .
@ -24,6 +26,6 @@ notifications:
webhooks: webhooks:
urls: urls:
- https://webhooks.gitter.im/e/e09ccdce1048c5e03445 - https://webhooks.gitter.im/e/e09ccdce1048c5e03445
on_success: change on_success: change
on_failure: always on_failure: always
on_start: false on_start: false