add travis config

This commit is contained in:
aerth 2017-06-15 22:40:37 +00:00
parent 75ab96923c
commit b58d6bf5ec
No known key found for this signature in database
GPG Key ID: EBC461F686385D5C
1 changed files with 21 additions and 0 deletions

21
.travis.yml Normal file
View File

@ -0,0 +1,21 @@
language: go
sudo: false
addons:
apt:
packages:
- xorg-dev
- libx11-dev
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
go:
- 1.8
- 1.7.4
- tip
install:
- go get -t ./...
script:
- go test -i -race ./...
- go test -v -race ./...