Update travis.yml

pull/2487/head
jmontoyaa 9 years ago
parent 9556cf2ea8
commit 5cf55af813
  1. 7
      .travis.yml
  2. 11
      tests/travis-apache

@ -7,9 +7,10 @@ php:
- 7.0
env:
- VHOST_URL = my.chamilo.net
- VHOST_CONF = my.chamilo.net.conf
- CHAMILO_VERSION = 1.11.x
global:
- VHOST_URL = my.chamilo.net
- VHOST_CONF = my.chamilo.net.conf
- CHAMILO_VERSION = 1.11.x
before_install:
#- sudo apt-get install python-software-properties

@ -1,18 +1,17 @@
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName localhost
DocumentRoot /home/travis/build/chamilo/chamilo-lms
DocumentRoot %TRAVIS_BUILD_DIR%
ServerName %VHOST_URL%
<Directory "/home/travis/build/chamilo/chamilo-lms">
<Directory "%TRAVIS_BUILD_DIR%">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/localhost-error.log
ErrorLog ${APACHE_LOG_DIR}/%VHOST_URL%-error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/localhost-access.log combined
CustomLog ${APACHE_LOG_DIR}/%VHOST_URL%-access.log combined
# Wire up Apache to use Travis CI's php-fpm.
<IfModule mod_fastcgi.c>

Loading…
Cancel
Save