32 lines
826 B
YAML
32 lines
826 B
YAML
language: go
|
|
sudo: required
|
|
dist: trusty
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libssl-dev
|
|
|
|
go:
|
|
- 1.9.x
|
|
- 1.10.x
|
|
- 1.11.x
|
|
- 1.12.x
|
|
- 1.13.x
|
|
- master
|
|
|
|
before_install:
|
|
- |
|
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
brew update
|
|
fi
|
|
- go get github.com/smartystreets/goconvey
|
|
- go get github.com/mattn/goveralls
|
|
- go get golang.org/x/tools/cmd/cover
|
|
|
|
script:
|
|
- $HOME/gopath/bin/goveralls -repotoken PfqH9iFyzW3daUxflzllSougjTxvFwQZE
|
|
- go test -race -v . -tags ""
|
|
- 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_vacuum_incr sqlite_vtable sqlite_unlock_notify"
|
|
- go test -race -v . -tags "sqlite_vacuum_full"
|