add travis ci

This commit is contained in:
Lunny Xiao 2016-11-09 09:00:16 +08:00
parent 8872adf7ee
commit 7e47ef8f83
1 changed files with 18 additions and 0 deletions

18
.travis.yml Normal file
View File

@ -0,0 +1,18 @@
language: go
go:
- 1.6
- 1.7
env:
TAGS: cert sqlite pam miniwinsvc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libpam-dev
script:
- go build
after_success:
- bash <(curl -s https://codecov.io/bash)