Test different build configurations on Travis.
This commit is contained in:
parent
ea2afbe9e8
commit
2a8baa5914
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue