From 5cf55af813651be64a83588bceb4350296eb37e3 Mon Sep 17 00:00:00 2001 From: jmontoyaa Date: Wed, 15 Feb 2017 15:56:50 +0100 Subject: [PATCH] Update travis.yml --- .travis.yml | 7 ++++--- tests/travis-apache | 11 +++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index f22438a10b..5cd63d5992 100755 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/tests/travis-apache b/tests/travis-apache index f38b452e66..6c1c43b812 100644 --- a/tests/travis-apache +++ b/tests/travis-apache @@ -1,18 +1,17 @@ - ServerAdmin webmaster@localhost - ServerName localhost - DocumentRoot /home/travis/build/chamilo/chamilo-lms + DocumentRoot %TRAVIS_BUILD_DIR% + ServerName %VHOST_URL% - + Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all - 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.