aboutsummaryrefslogtreecommitdiffstats
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.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/github.com/miekg/dns/.travis.yml b/vendor/github.com/miekg/dns/.travis.yml
new file mode 100644
index 0000000..542dd68
--- /dev/null
+++ b/vendor/github.com/miekg/dns/.travis.yml
@@ -0,0 +1,20 @@
+language: go
+sudo: false
+go:
+ - 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 $TESTS
+
+after_success:
+ - bash <(curl -s https://codecov.io/bash)