blob: cab4f7b861eadaff80f43765b98ef4787e405fde [file] [log] [blame]
Scott Baker8461e152019-10-01 14:44:30 -07001language: go
2
3go:
4 - 1.7.x
5 - 1.8.x
6 - 1.9.x
7 - master
8
9gobuild_args: -tags=integration -race
10
11sudo: required
12
13services:
14 - docker
15
16before_install:
17 - docker pull jcmturner/gokrb5:dns
18 - 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
19
20before_script:
21 - sudo sed -i 's/nameserver .*/nameserver 127.0.0.1/g' /etc/resolv.conf
22
23env:
24 - DNSUTILS_OVERRIDE_NS="127.0.0.1:53"