summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/miekg/dns/.travis.yml
blob: 13e312b4f3c0ff3c4a538d015dfce8535db5d8b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: go
sudo: false
go:
  - 1.10.x
  - 1.11.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)