aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Jan Wagner <waja@cyconet.org> 2015-10-21 00:01:39 +0200
committerGravatar Jan Wagner <waja@cyconet.org> 2015-10-21 16:33:59 +0200
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 6068b0dd..183fde9c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,6 +8,8 @@ before_install:
- 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"
# /etc/hosts has IPv6 hosts (https://github.com/travis-ci/travis-ci/issues/4978)
- sudo [ $(ip addr show | grep "inet6 ::1" | wc -l) -lt "1" ] && sudo sed -i '/^::1/d' /etc/hosts
+ # Trusty has running ntpd on localhost, but we don't like that for our tests
+ - sudo killall -9 ntpd
- sudo add-apt-repository -y ppa:waja/trusty-backports
- sudo apt-get update -qq
- sudo apt-get purge -qq gawk