Travis fix host

pull/3064/head
Julio 5 years ago
parent 9e3962c0e6
commit 18f9f154fb
  1. 1
      .travis.yml
  2. 1
      tests/travis/setup-apache.sh

@ -87,7 +87,6 @@ script:
- ../../vendor/behat/behat/bin/behat features/course.feature
- ../../vendor/behat/behat/bin/behat features/createUser.feature
- sudo apachectl -S
- sudo cat /var/log/apache2/error.log
after_failure:
- sudo cat /var/log/apache2/error.log

@ -7,6 +7,7 @@ sudo a2enmod rewrite actions fastcgi alias
# Use default config
sudo cp -f tests/travis/travis-apache /etc/apache2/sites-available/000-default.conf
sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/000-default.conf
sudo sed -e "s?%VHOST_URL%?$(pwd)?g" --in-place /etc/apache2/sites-available/000-default.conf
sudo chmod 777 -R $HOME
cat /etc/apache2/sites-available/000-default.conf

Loading…
Cancel
Save