language: go go_import_path: github.com/DATA-DOG/go-sqlmock go: - 1.2.x - 1.3.x - 1.4 # has no cover tool for latest releases - 1.5.x - 1.6.x - 1.7.x - 1.8.x - 1.9.x - 1.10.x - 1.11.x 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)