diff options
author | mattn <mattn.jp@gmail.com> | 2019-02-11 11:28:46 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-11 11:28:46 +0900 |
commit | 4cb37250b60d3254997cc8b53d9951278bdf3059 (patch) | |
tree | e09f0591a7b7ea077e6333ee48faeec654da1caf | |
parent | Merge pull request #692 from mattn/fix-688 (diff) | |
parent | Remove separate go build (diff) | |
download | golite-4cb37250b60d3254997cc8b53d9951278bdf3059.tar.gz golite-4cb37250b60d3254997cc8b53d9951278bdf3059.tar.xz |
Merge pull request #693 from egonelbre/unify-travis-runs
Unify travis runs
-rw-r--r-- | .travis.yml | 27 |
1 files changed, 8 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml index b5c249e..eb0abbb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,13 +8,6 @@ addons: apt: 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: - 1.9.x - 1.10.x @@ -26,17 +19,13 @@ before_install: if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update 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 + - go get github.com/smartystreets/goconvey + - go get github.com/mattn/goveralls + - go get golang.org/x/tools/cmd/cover script: - - 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 + - $HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx + - go test -race -v . -tags "" + - go test -race -v . -tags "libsqlite3" + - 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" + - go test -race -v . -tags "sqlite_vacuum_full"
\ No newline at end of file |