You've already forked go-sqlmock
mirror of
https://github.com/DATA-DOG/go-sqlmock.git
synced 2025-11-29 22:28:29 +02:00
updates travis to validate with go fmt
This commit is contained in:
@@ -8,9 +8,12 @@ go:
|
||||
- 1.6.x
|
||||
- 1.7.x
|
||||
- 1.8.x
|
||||
- tip
|
||||
# - tip # sadly fails most of thw times
|
||||
|
||||
script: go test -race -coverprofile=coverage.txt -covermode=atomic
|
||||
script:
|
||||
- go vet
|
||||
- test -z "$(go fmt ./...)" # fail if not formatted properly
|
||||
- go test -race -coverprofile=coverage.txt -covermode=atomic
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
@@ -354,7 +354,6 @@ func TestPreparedQueryExecutions(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func TestUnorderedPreparedQueryExecutions(t *testing.T) {
|
||||
t.Parallel()
|
||||
db, mock, err := New()
|
||||
|
||||
Reference in New Issue
Block a user