mirror of https://github.com/mattn/go-sqlite3.git
Faster travis running
This commit is contained in:
parent
3fa1c550ff
commit
01e5d0e24c
26
.travis.yml
26
.travis.yml
|
@ -8,13 +8,6 @@ addons:
|
||||||
apt:
|
apt:
|
||||||
update: true
|
update: true
|
||||||
|
|
||||||
env:
|
|
||||||
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 sqlite_unlock_notify"
|
|
||||||
- GOTAGS=sqlite_vacuum_full
|
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.9.x
|
- 1.9.x
|
||||||
- 1.10.x
|
- 1.10.x
|
||||||
|
@ -26,17 +19,14 @@ before_install:
|
||||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
brew update
|
brew update
|
||||||
fi
|
fi
|
||||||
- |
|
- go get github.com/smartystreets/goconvey
|
||||||
go get github.com/smartystreets/goconvey
|
- go get github.com/mattn/goveralls
|
||||||
if [[ "${GOOS}" != "windows" ]]; then
|
- go get golang.org/x/tools/cmd/cover
|
||||||
go get github.com/mattn/goveralls
|
|
||||||
go get golang.org/x/tools/cmd/cover
|
|
||||||
fi
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- GOOS=$(go env GOOS) GOARCH=$(go env GOARCH) go build -v -tags "${GOTAGS}" .
|
- GOOS=$(go env GOOS) GOARCH=$(go env GOARCH) go build -v -tags "${GOTAGS}" .
|
||||||
- |
|
- $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
|
||||||
if [[ "${GOOS}" != "windows" ]]; then
|
- go test -race -v . -tags ""
|
||||||
$HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
|
- go test -race -v . -tags "libsqlite3"
|
||||||
go test -race -v . -tags "${GOTAGS}"
|
- 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"
|
||||||
fi
|
- go test -race -v . -tags "sqlite_vacuum_full"
|
Loading…
Reference in New Issue