summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2015-10-21 00:01:39 +0200
committerJan Wagner <waja@cyconet.org>2015-10-21 17:06:08 +0200
commitf846f63483d2d001012077e111cb32827059b4f4 (patch)
tree066e9e7bb2129b8b4f83a99e0e86a372a5ea85db
parenta0440a5f359acb6daf4cca647c3265c7a2008ea7 (diff)
downloadmonitoring-plugins-f846f63483d2d001012077e111cb32827059b4f4.tar.gz
travis-ci: Stop local running ntpd
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 844d5442..fe8ab851 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