Scott Baker | f579f13 | 2019-10-24 14:31:41 -0700 | [diff] [blame] | 1 | language: go |
| 2 | |
| 3 | go: |
| 4 | - 1.7.x |
| 5 | - 1.8.x |
| 6 | - 1.9.x |
| 7 | - master |
| 8 | |
| 9 | gobuild_args: -tags=integration -race |
| 10 | |
| 11 | sudo: required |
| 12 | |
| 13 | services: |
| 14 | - docker |
| 15 | |
| 16 | before_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 | |
| 20 | before_script: |
| 21 | - sudo sed -i 's/nameserver .*/nameserver 127.0.0.1/g' /etc/resolv.conf |
| 22 | |
| 23 | env: |
| 24 | - DNSUTILS_OVERRIDE_NS="127.0.0.1:53" |