2019-03-27 11:15:23 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
|
|
|
|
go:
|
|
|
|
- 1.9.x
|
|
|
|
- 1.10.x
|
|
|
|
- 1.11.x
|
2020-06-17 19:07:58 +00:00
|
|
|
- 1.12.x
|
|
|
|
- 1.13.x
|
2019-08-23 16:40:30 +00:00
|
|
|
- master
|
2019-03-27 11:15:23 +00:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- |
|
2019-08-23 16:40:30 +00:00
|
|
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
2019-03-27 11:15:23 +00:00
|
|
|
brew update
|
|
|
|
fi
|
2019-08-23 16:40:30 +00:00
|
|
|
- go get github.com/mattn/goveralls
|
|
|
|
- go get golang.org/x/tools/cmd/cover
|
2019-03-27 11:15:23 +00:00
|
|
|
|
|
|
|
script:
|
2020-08-14 01:54:46 +00:00
|
|
|
- $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx -parallel
|
2019-08-23 16:40:30 +00:00
|
|
|
- go test -race -v . -tags ""
|
|
|
|
- go test -race -v . -tags "libsqlite3"
|
2020-06-17 19:07:58 +00:00
|
|
|
- go test -race -v . -tags "sqlite_allow_uri_authority sqlite_app_armor sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_preupdate_hook sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_trace sqlite_userauth sqlite_vacuum_incr sqlite_vtable sqlite_unlock_notify"
|
|
|
|
- go test -race -v . -tags "sqlite_vacuum_full"
|
2020-08-14 01:54:46 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks: https://coveralls.io/webhook?repo_token=3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
|