2014-02-07 17:52:26 +03:00
|
|
|
language: go
|
2016-01-21 21:09:44 +02:00
|
|
|
|
2018-07-12 14:57:57 +02:00
|
|
|
go_import_path: gopkg.in/DATA-DOG/go-sqlmock.v1
|
|
|
|
|
2014-02-07 17:52:26 +03:00
|
|
|
go:
|
2017-05-30 19:09:52 +02:00
|
|
|
- 1.2.x
|
|
|
|
- 1.3.x
|
2017-05-31 09:20:00 +02:00
|
|
|
- 1.4 # has no cover tool for latest releases
|
2017-05-30 19:09:52 +02:00
|
|
|
- 1.5.x
|
|
|
|
- 1.6.x
|
|
|
|
- 1.7.x
|
|
|
|
- 1.8.x
|
2017-10-04 16:32:19 +02:00
|
|
|
- 1.9.x
|
2018-03-04 17:30:57 +02:00
|
|
|
- 1.10.x
|
2017-06-02 10:59:07 +02:00
|
|
|
# - tip # sadly fails most of the times
|
2014-02-07 17:52:26 +03:00
|
|
|
|
2018-07-12 14:32:58 +02:00
|
|
|
sudo: false
|
|
|
|
|
2017-05-31 22:54:14 +02:00
|
|
|
script:
|
|
|
|
- go vet
|
|
|
|
- test -z "$(go fmt ./...)" # fail if not formatted properly
|
|
|
|
- go test -race -coverprofile=coverage.txt -covermode=atomic
|
2016-11-22 03:16:42 +02:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|