* unit test TestGet(Search)Replica This adds partial, testing-focused support for SQLite, as well as removing some translated log messages that required initializing i18n just for testing. * avoid returning master twice when no replicas are configured * remove duplicate indexes * unit test GetAllConns
20 строки
377 B
YAML
20 строки
377 B
YAML
language: go
|
|
sudo: required
|
|
dist: trusty
|
|
env:
|
|
- GOTAGS=
|
|
- GOTAGS=libsqlite3
|
|
- GOTAGS=trace
|
|
- GOTAGS=vtable
|
|
go:
|
|
- 1.7.x
|
|
- 1.8.x
|
|
- 1.9.x
|
|
- master
|
|
before_install:
|
|
- 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 "$GOTAGS"
|