diff options
author | Jan Wagner <waja@cyconet.org> | 2015-10-21 00:01:39 +0200 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2015-10-21 16:33:59 +0200 |
commit | effa67b8cc6560815243180e274f2792ee6649d5 (patch) | |
tree | f537330bea051793362e3c4d21227ce63c47336a /.travis.yml | |
parent | 0eee69714d2cfd0dfb089b44265b3391c250b0f4 (diff) | |
download | monitoring-plugins-effa67b8cc6560815243180e274f2792ee6649d5.tar.gz |
travis-ci: Stop local running ntpd
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
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: | |||
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 |