Forcing 127.0.0.1 for /etc/hosts in travis

This commit is contained in:
Yves Hoppe 2016-08-15 13:52:01 +02:00
parent 97d3c26513
commit c15fd94d46
1 changed files with 2 additions and 0 deletions

View File

@ -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