Merge pull request #258 from yvesh/travishosts

Forcing 127.0.0.1 for /etc/hosts in travis
This commit is contained in:
Puneet Kala 2016-08-15 17:46:46 +05:30 committed by GitHub
commit f470766616
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