Update travis.yml (fix host)

remotes/angel/1.11.x
jmontoyaa 8 years ago
parent 05993e036d
commit ae84f6ded2
  1. 2
      .travis.yml

@ -33,7 +33,7 @@ before_install:
- sudo sed -e "s?%VHOST_URL%?$VHOST_URL?g" --in-place /etc/apache2/sites-available/$VHOST_CONF - sudo sed -e "s?%VHOST_URL%?$VHOST_URL?g" --in-place /etc/apache2/sites-available/$VHOST_CONF
- echo "127.0.0.1 $VHOST_URL" | sudo tee -a /etc/hosts - echo "127.0.0.1 $VHOST_URL" | sudo tee -a /etc/hosts
- sudo a2enmod rewrite - sudo a2enmod rewrite
- sudo a2ensite $VHOST_URL - sudo a2ensite $VHOST_CONF
- sudo service apache2 restart - sudo service apache2 restart
# Install additional PHP packages (check http://docs.travis-ci.com/user/ci-environment/#CI-environment-OS # Install additional PHP packages (check http://docs.travis-ci.com/user/ci-environment/#CI-environment-OS
# for pre-installed packages) # for pre-installed packages)

Loading…
Cancel
Save