Test different build configurations on Travis.

This commit is contained in:
Joachim Bauch 2016-11-08 08:40:35 +01:00
parent ea2afbe9e8
commit 2a8baa5914
Failed to extract signature
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,11 @@
language: go language: go
sudo: required sudo: required
dist: trusty dist: trusty
env:
- GOTAGS=
- GOTAGS=libsqlite3
- GOTAGS=trace
- GOTAGS=libsqlite3 trace
go: go:
- 1.5 - 1.5
- 1.6 - 1.6
@ -10,4 +15,4 @@ before_install:
- go get golang.org/x/tools/cmd/cover - go get golang.org/x/tools/cmd/cover
script: script:
- $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx - $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
- go test -race -v . -tags "libsqlite3" - go test -race -v . -tags "$GOTAGS"