Setup CI with testing

This commit is contained in:
Unknwon 2016-02-14 23:20:07 -05:00
parent 58e004f7da
commit e9b9e6eb53
1 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,7 @@ language: go
go:
- 1.4
- 1.5
- 1.6
before_install:
- sudo apt-get update -qq
@ -12,7 +13,9 @@ before_install:
install:
- go get -t -v ./...
script: go build -v -tags "pam"
script:
- go build -v -tags "pam"
- go test -v -cover -race ./...
notifications:
email: