2012-10-29 05:24:18 +00:00
|
|
|
language: go
|
2018-05-23 17:20:57 +00:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
|
2016-11-08 07:40:35 +00:00
|
|
|
env:
|
2018-05-23 17:20:57 +00:00
|
|
|
matrix:
|
|
|
|
- GOTAGS=
|
|
|
|
- GOTAGS=libsqlite3
|
2018-05-25 08:18:56 +00:00
|
|
|
- GOTAGS="sqlite_allow_uri_authority sqlite_app_armor sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_userauth"
|
2018-05-24 10:07:11 +00:00
|
|
|
- GOTAGS=sqlite_trace
|
2018-05-24 09:59:17 +00:00
|
|
|
- GOTAGS=sqlite_vacuum_full
|
|
|
|
- GOTAGS=sqlite_vacuum_incr
|
|
|
|
- GOTAGS=sqlite_vtable
|
2018-05-23 17:20:57 +00:00
|
|
|
|
2013-08-29 01:03:00 +00:00
|
|
|
go:
|
2017-10-22 11:57:02 +00:00
|
|
|
- 1.8.x
|
|
|
|
- 1.9.x
|
2018-05-23 17:20:57 +00:00
|
|
|
- 1.10.x
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
|
|
|
env: GOTAGS= GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
|
|
|
env: GOTAGS= GOOS=windows GOARCH=amd64
|
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
|
|
|
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
|
|
|
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=amd64
|
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
2018-05-25 08:18:56 +00:00
|
|
|
env: GOTAGS="sqlite_allow_uri_authority sqlite_app_armor sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_userauth" GOOS=windows GOARCH=386
|
2018-05-24 10:35:44 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
2018-05-25 08:18:56 +00:00
|
|
|
env: GOTAGS="sqlite_allow_uri_authority sqlite_app_armor sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_userauth" GOOS=windows GOARCH=amd64
|
2018-05-24 10:35:44 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
|
|
|
env: GOTAGS=sqlite_trace GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
|
|
|
env: GOTAGS=sqlite_trace GOOS=windows GOARCH=amd64
|
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
|
|
|
env: GOTAGS=sqlite_vacuum_full GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
|
|
|
env: GOTAGS=sqlite_vacuum_full GOOS=windows GOARCH=amd64
|
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
|
|
|
env: GOTAGS=sqlite_vacuum_incr GOOS=windows GOARCH=386
|
2018-05-23 17:20:57 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
2018-05-24 10:35:44 +00:00
|
|
|
env: GOTAGS=sqlite_vacuum_incr GOOS=windows GOARCH=amd64
|
2018-05-23 17:20:57 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
2018-05-24 10:35:44 +00:00
|
|
|
env: GOTAGS=sqlite_vtable GOOS=windows GOARCH=386
|
2018-05-23 17:20:57 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.8.x
|
2018-05-24 10:35:44 +00:00
|
|
|
env: GOTAGS=sqlite_vtable GOOS=windows GOARCH=amd64
|
2018-05-23 17:20:57 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
|
|
|
env: GOTAGS= GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
|
|
|
env: GOTAGS= GOOS=windows GOARCH=amd64
|
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
|
|
|
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
|
|
|
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=amd64
|
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
2018-05-25 08:18:56 +00:00
|
|
|
env: GOTAGS="sqlite_allow_uri_authority sqlite_app_armor sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_userauth" GOOS=windows GOARCH=386
|
2018-05-23 17:20:57 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
2018-05-25 08:18:56 +00:00
|
|
|
env: GOTAGS="sqlite_allow_uri_authority sqlite_app_armor sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_userauth" GOOS=windows GOARCH=amd64
|
2018-05-24 10:35:44 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
|
|
|
env: GOTAGS=sqlite_trace GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
|
|
|
env: GOTAGS=sqlite_trace GOOS=windows GOARCH=amd64
|
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
|
|
|
env: GOTAGS=sqlite_vacuum_full GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
|
|
|
env: GOTAGS=sqlite_vacuum_full GOOS=windows GOARCH=amd64
|
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
|
|
|
env: GOTAGS=sqlite_vacuum_incr GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
|
|
|
env: GOTAGS=sqlite_vacuum_incr GOOS=windows GOARCH=amd64
|
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
|
|
|
env: GOTAGS=sqlite_vtable GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.9.x
|
|
|
|
env: GOTAGS=sqlite_vtable GOOS=windows GOARCH=amd64
|
2018-05-23 17:20:57 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
|
|
|
env: GOTAGS= GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
|
|
|
env: GOTAGS= GOOS=windows GOARCH=amd64
|
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
|
|
|
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
|
|
|
env: GOTAGS=libsqlite3 GOOS=windows GOARCH=amd64
|
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
2018-05-25 08:18:56 +00:00
|
|
|
env: GOTAGS="sqlite_allow_uri_authority sqlite_app_armor sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_userauth" GOOS=windows GOARCH=386
|
2018-05-24 10:35:44 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
2018-05-25 08:18:56 +00:00
|
|
|
env: GOTAGS="sqlite_allow_uri_authority sqlite_app_armor sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_userauth" GOOS=windows GOARCH=amd64
|
2018-05-24 10:35:44 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
|
|
|
env: GOTAGS=sqlite_trace GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
|
|
|
env: GOTAGS=sqlite_trace GOOS=windows GOARCH=amd64
|
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
|
|
|
env: GOTAGS=sqlite_vacuum_full GOOS=windows GOARCH=386
|
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
|
|
|
env: GOTAGS=sqlite_vacuum_full GOOS=windows GOARCH=amd64
|
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
|
|
|
env: GOTAGS=sqlite_vacuum_incr GOOS=windows GOARCH=386
|
2018-05-23 17:20:57 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
2018-05-24 10:35:44 +00:00
|
|
|
env: GOTAGS=sqlite_vacuum_incr GOOS=windows GOARCH=amd64
|
2018-05-23 17:20:57 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
2018-05-24 10:35:44 +00:00
|
|
|
env: GOTAGS=sqlite_vtable GOOS=windows GOARCH=386
|
2018-05-23 17:20:57 +00:00
|
|
|
- os: linux
|
|
|
|
go: 1.10.x
|
2018-05-24 10:35:44 +00:00
|
|
|
env: GOTAGS=sqlite_vtable GOOS=windows GOARCH=amd64
|
2018-05-23 17:20:57 +00:00
|
|
|
|
|
|
|
|
2013-06-11 11:08:24 +00:00
|
|
|
before_install:
|
2018-05-23 17:20:57 +00:00
|
|
|
- |
|
|
|
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
|
|
brew update
|
2018-05-24 13:06:10 +00:00
|
|
|
brew install icu4c
|
2018-05-23 17:20:57 +00:00
|
|
|
fi
|
|
|
|
- |
|
|
|
|
if [[ "${GOOS}" != "windows" ]]; then
|
|
|
|
go get github.com/mattn/goveralls
|
|
|
|
go get golang.org/x/tools/cmd/cover
|
|
|
|
fi
|
|
|
|
|
2013-06-11 11:08:24 +00:00
|
|
|
script:
|
2018-05-23 17:20:57 +00:00
|
|
|
- GOOS=$(go env GOOS) GOARCH=$(go env GOARCH) go build -v -tags "${GOTAGS}" .
|
|
|
|
- |
|
|
|
|
if [[ "${GOOS}" != "windows" ]]; then
|
|
|
|
$HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
|
|
|
|
go test -race -v . -tags "${GOTAGS}"
|
2018-05-24 07:25:16 +00:00
|
|
|
fi
|