.travis.yml 382 B

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