add travis test

This commit is contained in:
andy pan 2018-06-29 10:25:18 +08:00
parent 0ce675b29f
commit 4f23c64da9
1 changed files with 11 additions and 0 deletions

11
.travis.yml Normal file
View File

@ -0,0 +1,11 @@
language: go
go:
- "1.8.x"
- "1.9.x"
- "1.10.x"
- master
script:
- go test -v ./...
- go test -bench=. -benchmem=true -run=none ./...