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 01e5d0e

Browse files
Faster travis running
1 parent 3fa1c55 commit 01e5d0e

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

‎.travis.yml

Lines changed: 8 additions & 18 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,14 @@ 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:
3727
- 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
28+
- $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
29+
- go test -race -v . -tags ""
30+
- go test -race -v . -tags "libsqlite3"
31+
- 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"
32+
- go test -race -v . -tags "sqlite_vacuum_full"

0 commit comments

Comments
(0)

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