From 3a4c7603b3ce35ab247b4dddaf7a2506375ba2c9 Mon Sep 17 00:00:00 2001 From: Jesse Hallam Date: Mon, 16 Apr 2018 21:23:20 -0400 Subject: MM-10020: avoid duplicating unique indexes (#8587) * 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 --- vendor/github.com/mattn/go-sqlite3/.travis.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 vendor/github.com/mattn/go-sqlite3/.travis.yml (limited to 'vendor/github.com/mattn/go-sqlite3/.travis.yml') diff --git a/vendor/github.com/mattn/go-sqlite3/.travis.yml b/vendor/github.com/mattn/go-sqlite3/.travis.yml new file mode 100644 index 000000000..46e70cb0b --- /dev/null +++ b/vendor/github.com/mattn/go-sqlite3/.travis.yml @@ -0,0 +1,19 @@ +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" -- cgit v1.2.3-1-g7c22