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
|
|
|
|
|
2013-08-29 01:03:00 +00:00
|
|
|
go:
|
2017-10-22 11:57:02 +00:00
|
|
|
- 1.9.x
|
2018-05-23 17:20:57 +00:00
|
|
|
- 1.10.x
|
2018-10-09 10:54:41 +00:00
|
|
|
- 1.11.x
|
2018-11-02 04:03:02 +00:00
|
|
|
- master
|
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
|
|
|
- |
|
2018-11-02 04:03:02 +00:00
|
|
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
2018-05-23 17:20:57 +00:00
|
|
|
brew update
|
|
|
|
fi
|
2019-02-10 17:04:48 +00:00
|
|
|
- go get github.com/smartystreets/goconvey
|
|
|
|
- go get github.com/mattn/goveralls
|
|
|
|
- go get golang.org/x/tools/cmd/cover
|
2018-05-23 17:20:57 +00:00
|
|
|
|
2013-06-11 11:08:24 +00:00
|
|
|
script:
|
2019-02-10 17:04:48 +00:00
|
|
|
- $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
|
|
|
|
- go test -race -v . -tags ""
|
|
|
|
- go test -race -v . -tags "libsqlite3"
|
|
|
|
- go test -race -v . -tags "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_trace sqlite_userauth sqlite_vacuum_incr sqlite_vtable sqlite_unlock_notify"
|
|
|
|
- go test -race -v . -tags "sqlite_vacuum_full"
|