summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/miekg/dns/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/miekg/dns/.travis.yml')
-rw-r--r--vendor/github.com/miekg/dns/.travis.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/vendor/github.com/miekg/dns/.travis.yml b/vendor/github.com/miekg/dns/.travis.yml
index bb8b8d40b..542dd68c0 100644
--- a/vendor/github.com/miekg/dns/.travis.yml
+++ b/vendor/github.com/miekg/dns/.travis.yml
@@ -1,14 +1,20 @@
language: go
sudo: false
go:
- - 1.7.x
- - 1.8.x
+ - 1.9.x
- tip
+env:
+ - TESTS="-race -v -bench=. -coverprofile=coverage.txt -covermode=atomic"
+ - TESTS="-race -v ./..."
+
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:
- - go test -race -v -bench=.
+ - go test $TESTS
+
+after_success:
+ - bash <(curl -s https://codecov.io/bash)