run "cd .."
run "wget http://www.verisignlabs.com/dnssec-tools/packages/jdnssec-tools-0.12.tar.gz"
run "sudo tar xfz jdnssec-tools-0.12.tar.gz --strip-components=1 -C /"
- run "cd pdns"
+ run "cd ${TRAVIS_BUILD_DIR}"
# pkcs11 test requirements / setup
run "sudo apt-get -qq --no-install-recommends install \
run "tar xzvf dnsperf-2.0.0.0-1-rhel-6-x86_64.tar.gz"
run "fakeroot alien --to-deb dnsperf-2.0.0.0-1/dnsperf-2.0.0.0-1.el6.x86_64.rpm"
run "sudo dpkg -i dnsperf_2.0.0.0-2_amd64.deb"
- run "cd pdns"
+ run "cd ${TRAVIS_BUILD_DIR}"
# geoip-backend test requirements / setup
run "sudo apt-get -qq --no-install-recommends install \
run 'for suffix in {1..40}; do sudo /sbin/ip addr add 10.0.3.$suffix/32 dev lo; done'
run "sudo touch /etc/authbind/byport/53"
run "sudo chmod 755 /etc/authbind/byport/53"
- run "cd pdns"
+ run "cd ${TRAVIS_BUILD_DIR}"
}
install_dnsdist() {
run "wget http://ppa.launchpad.net/kalon33/gamesgiroll/ubuntu/pool/main/libs/libsodium/libsodium-dev_1.0.3-1~ppa14.04+1_amd64.deb"
run "wget http://ppa.launchpad.net/kalon33/gamesgiroll/ubuntu/pool/main/libs/libsodium/libsodium13_1.0.3-1~ppa14.04+1_amd64.deb"
run "sudo dpkg -i libsodium-dev_1.0.3-1~ppa14.04+1_amd64.deb libsodium13_1.0.3-1~ppa14.04+1_amd64.deb"
-run "cd pdns"
+run "cd ${TRAVIS_BUILD_DIR}"
install_$PDNS_BUILD_PRODUCT