summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2015-10-20 22:01:39 (GMT)
committerJan Wagner <waja@cyconet.org>2015-10-21 14:33:59 (GMT)
commiteffa67b8cc6560815243180e274f2792ee6649d5 (patch)
treef537330bea051793362e3c4d21227ce63c47336a /.travis.yml
parent0eee69714d2cfd0dfb089b44265b3391c250b0f4 (diff)
downloadmonitoring-plugins-effa67b8cc6560815243180e274f2792ee6649d5.tar.gz
travis-ci: Stop local running ntpd
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 6068b0d..183fde9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,6 +8,8 @@ before_install:
8 - sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ trusty multiverse" && sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse" 8 - sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ trusty multiverse" && sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse"
9 # /etc/hosts has IPv6 hosts (https://github.com/travis-ci/travis-ci/issues/4978) 9 # /etc/hosts has IPv6 hosts (https://github.com/travis-ci/travis-ci/issues/4978)
10 - sudo [ $(ip addr show | grep "inet6 ::1" | wc -l) -lt "1" ] && sudo sed -i '/^::1/d' /etc/hosts 10 - sudo [ $(ip addr show | grep "inet6 ::1" | wc -l) -lt "1" ] && sudo sed -i '/^::1/d' /etc/hosts
11 # Trusty has running ntpd on localhost, but we don't like that for our tests
12 - sudo killall -9 ntpd
11 - sudo add-apt-repository -y ppa:waja/trusty-backports 13 - sudo add-apt-repository -y ppa:waja/trusty-backports
12 - sudo apt-get update -qq 14 - sudo apt-get update -qq
13 - sudo apt-get purge -qq gawk 15 - sudo apt-get purge -qq gawk