8
8
apt :
9
9
update : true
10
10
11
- env :
12
- matrix :
13
- - GOTAGS=
14
- - GOTAGS=libsqlite3
15
- - 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"
16
- - GOTAGS=sqlite_vacuum_full
17
-
18
11
go :
19
12
- 1.9.x
20
13
- 1.10.x
@@ -26,17 +19,13 @@ before_install:
26
19
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
27
20
brew update
28
21
fi
29
- - |
30
- go get github.com/smartystreets/goconvey
31
- if [[ "${GOOS}" != "windows" ]]; then
32
- go get github.com/mattn/goveralls
33
- go get golang.org/x/tools/cmd/cover
34
- fi
22
+ - go get github.com/smartystreets/goconvey
23
+ - go get github.com/mattn/goveralls
24
+ - go get golang.org/x/tools/cmd/cover
35
25
36
26
script :
37
- - GOOS=$(go env GOOS) GOARCH=$(go env GOARCH) go build -v -tags "${GOTAGS}" .
38
- - |
39
- if [[ "${GOOS}" != "windows" ]]; then
40
- $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
41
- go test -race -v . -tags "${GOTAGS}"
42
- fi
27
+ - $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
28
+ - go test -race -v . -tags ""
29
+ - go test -race -v . -tags "libsqlite3"
30
+ - 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"
31
+ - go test -race -v . -tags "sqlite_vacuum_full"
0 commit comments