add travis config

This commit is contained in:
aerth 2017-06-15 22:40:37 +00:00
parent 886e7fa22a
commit 19b10859ad
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 ./...