Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4cb3725

Browse files
authored
Merge pull request mattn#693 from egonelbre/unify-travis-runs
Unify travis runs
2 parents 58039ab + 54fcf30 commit 4cb3725

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

‎.travis.yml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ addons:
88
apt:
99
update: true
1010

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-
1811
go:
1912
- 1.9.x
2013
- 1.10.x
@@ -26,17 +19,13 @@ before_install:
2619
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
2720
brew update
2821
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
3525

3626
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

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /