1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-24 18:38:28 +00:00

Update to latest mssqldriver (#7613)

* New driver does not tolerate USE - handle this by closing db and reopening db in the new dbname
This commit is contained in:
zeripath
2019-07-26 05:10:20 +01:00
committed by GitHub
parent bebc6a3c77
commit 78e5317242
31 changed files with 2376 additions and 598 deletions

View File

@@ -14,6 +14,8 @@ environment:
matrix:
- GOVERSION: 18
SQLINSTANCE: SQL2016
- GOVERSION: 19
SQLINSTANCE: SQL2016
- GOVERSION: 110
SQLINSTANCE: SQL2016
- SQLINSTANCE: SQL2014
@@ -25,6 +27,7 @@ install:
- set PATH=%GOPATH%\bin;%GOROOT%\bin;%PATH%
- go version
- go env
- go get -u cloud.google.com/go/civil
build_script:
- go build
@@ -41,5 +44,5 @@ before_test:
test_script:
- go test -race -coverprofile=coverage.txt -covermode=atomic
- go test -race -cpu 4 -coverprofile=coverage.txt -covermode=atomic
- codecov -f coverage.txt