mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 11:44:27 +00:00
c4d8d53a6d
* Use vendored go-swagger (#8087) * Use vendored go-swagger * vendor go-swagger * revert un wanteed change * remove un-needed GO111MODULE * Update Makefile Co-Authored-By: techknowlogick <matti@mdranta.net> * re-generate swagger file
31 lines
818 B
YAML
31 lines
818 B
YAML
language: go
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
addons:
|
|
apt:
|
|
update: true
|
|
|
|
go:
|
|
- 1.9.x
|
|
- 1.10.x
|
|
- 1.11.x
|
|
- master
|
|
|
|
before_install:
|
|
- |
|
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
brew update
|
|
fi
|
|
- go get github.com/smartystreets/goconvey
|
|
- go get github.com/mattn/goveralls
|
|
- go get golang.org/x/tools/cmd/cover
|
|
|
|
script:
|
|
- $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" |