2018-05-01 23:45:06 +00:00
|
|
|
language: go
|
|
|
|
sudo: false
|
2019-04-17 17:15:55 +00:00
|
|
|
|
2018-05-01 23:45:06 +00:00
|
|
|
go:
|
2019-04-17 17:15:55 +00:00
|
|
|
- 1.10.x
|
|
|
|
- 1.11.x
|
|
|
|
- 1.12.x
|
2018-05-01 23:45:06 +00:00
|
|
|
- tip
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
# don't use the miekg/dns when testing forks
|
|
|
|
- mkdir -p $GOPATH/src/github.com/miekg
|
|
|
|
- ln -s $TRAVIS_BUILD_DIR $GOPATH/src/github.com/miekg/ || true
|
|
|
|
|
|
|
|
script:
|
2019-04-17 17:15:55 +00:00
|
|
|
- go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./...
|
2018-05-01 23:45:06 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|