summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattn/go-sqlite3/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mattn/go-sqlite3/.travis.yml')
-rw-r--r--vendor/github.com/mattn/go-sqlite3/.travis.yml48
1 files changed, 35 insertions, 13 deletions
diff --git a/vendor/github.com/mattn/go-sqlite3/.travis.yml b/vendor/github.com/mattn/go-sqlite3/.travis.yml
index 46e70cb0b..a21c8170e 100644
--- a/vendor/github.com/mattn/go-sqlite3/.travis.yml
+++ b/vendor/github.com/mattn/go-sqlite3/.travis.yml
@@ -1,19 +1,41 @@
language: go
-sudo: required
-dist: trusty
+
+os:
+ - linux
+ - osx
+
+addons:
+ apt:
+ update: true
+
env:
- - GOTAGS=
- - GOTAGS=libsqlite3
- - GOTAGS=trace
- - GOTAGS=vtable
+ matrix:
+ - GOTAGS=
+ - GOTAGS=libsqlite3
+ - 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_trace sqlite_userauth sqlite_vacuum_incr sqlite_vtable"
+ - GOTAGS=sqlite_vacuum_full
+
go:
- - 1.7.x
- - 1.8.x
- 1.9.x
- - master
+ - 1.10.x
+
before_install:
- - go get github.com/mattn/goveralls
- - go get golang.org/x/tools/cmd/cover
+ - |
+ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
+ brew update
+ brew upgrade icu4c
+ fi
+ - |
+ go get github.com/smartystreets/goconvey
+ if [[ "${GOOS}" != "windows" ]]; then
+ go get github.com/mattn/goveralls
+ go get golang.org/x/tools/cmd/cover
+ fi
+
script:
- - $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
- - go test -race -v . -tags "$GOTAGS"
+ - 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}"
+ fi