2014-07-09 00:23:29 +10:00
|
|
|
language: go
|
2015-08-20 02:36:44 +10:00
|
|
|
sudo: false
|
2018-10-10 04:46:58 +11:00
|
|
|
|
2014-07-09 00:23:29 +10:00
|
|
|
go:
|
2018-08-04 17:48:20 +10:00
|
|
|
- 1.10.x
|
2018-08-30 16:41:33 +10:00
|
|
|
- 1.11.x
|
2017-05-26 08:19:06 +10:00
|
|
|
- tip
|
2017-01-04 18:55:54 +11:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2014-07-11 19:59:29 +10:00
|
|
|
script:
|
2018-10-10 04:46:58 +11:00
|
|
|
- go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./...
|
2017-11-07 20:17:19 +11:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|