Setup CI with testing
This commit is contained in:
parent
58e004f7da
commit
e9b9e6eb53
1 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@ language: go
|
||||||
go:
|
go:
|
||||||
- 1.4
|
- 1.4
|
||||||
- 1.5
|
- 1.5
|
||||||
|
- 1.6
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
|
@ -12,7 +13,9 @@ before_install:
|
||||||
install:
|
install:
|
||||||
- go get -t -v ./...
|
- go get -t -v ./...
|
||||||
|
|
||||||
script: go build -v -tags "pam"
|
script:
|
||||||
|
- go build -v -tags "pam"
|
||||||
|
- go test -v -cover -race ./...
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
|
Reference in a new issue