[monitoring-plugins] travis-ci: Stop local running ntpd

Jan Wagner git at monitoring-plugins.org
Wed Oct 21 17:10:11 CEST 2015


 Module: monitoring-plugins
 Branch: master
 Commit: effa67b8cc6560815243180e274f2792ee6649d5
 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=effa67b

travis-ci: Stop local running ntpd

---

 .travis.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 6068b0d..183fde9 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