[monitoring-plugins] travis-ci: Stop local running ntpd
Jan Wagner
git at monitoring-plugins.org
Wed Oct 21 17:20:11 CEST 2015
Module: monitoring-plugins
Branch: maint-2.1
Commit: f846f63483d2d001012077e111cb32827059b4f4
Author: Jan Wagner <waja at cyconet.org>
Date: Wed Oct 21 00:01:39 2015 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=f846f63
travis-ci: Stop local running ntpd
---
.travis.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 844d544..fe8ab85 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
More information about the Commits
mailing list