.travis.yml 481 字节
language: go

go:
  - 1.7.x
  - 1.8.x
  - 1.9.x
  - master

gobuild_args: -tags=integration -race

sudo: required

services:
  - docker

before_install:
  - docker pull jcmturner/gokrb5:dns
  - docker run -d -h kdc.test.gokrb5 -v /etc/localtime:/etc/localtime:ro -e "TEST_KDC_ADDR=127.0.0.1" -p 53:53 -p 53:53/udp --name dns jcmturner/gokrb5:dns

before_script:
  - sudo sed -i 's/nameserver .*/nameserver 127.0.0.1/g' /etc/resolv.conf

env:
  - DNSUTILS_OVERRIDE_NS="127.0.0.1:53"