mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-22 22:56:58 -04:00
travis-ci: Stop local running ntpd
This commit is contained in:
parent
0eee69714d
commit
effa67b8cc
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue