From c15fd94d46624534bd03b73fbcb13a375921ae19 Mon Sep 17 00:00:00 2001 From: Yves Hoppe Date: Mon, 15 Aug 2016 13:52:01 +0200 Subject: [PATCH] Forcing 127.0.0.1 for /etc/hosts in travis --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 065973b..d3e50ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,8 @@ matrix: - php: 7.0 before_script: +# Forcing localhost in hosts file +- sudo sed -i '1s/^/127.0.0.1 localhost\n/' /etc/hosts - sudo apt-get update -qq - sudo apt-get install -y --force-yes apache2 libapache2-mod-fastcgi > /dev/null - sudo mkdir $(pwd)/.run