1language: go
2sudo: false
3
4go:
5  - 1.10.x
6  - 1.11.x
7  - tip
8
9before_install:
10  # don't use the miekg/dns when testing forks
11  - mkdir -p $GOPATH/src/github.com/miekg
12  - ln -s $TRAVIS_BUILD_DIR $GOPATH/src/github.com/miekg/ || true
13
14script:
15  - go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./...
16
17after_success:
18  - bash <(curl -s https://codecov.io/bash)
19