From: gggeek Date: Fri, 20 Mar 2015 10:57:10 +0000 (+0000) Subject: Display apache logs in travis console X-Git-Tag: 4.0.0-alpha^2~155 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=e29f0952990433bb8589b8da9b6c4fe61807c6b6 Display apache logs in travis console --- diff --git a/.travis.yml b/.travis.yml index f942a8c..c1a57b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,8 @@ script: # to have code coverage: --coverage-clover=coverage.clover phpunit tests LOCALSERVER=localhost URI=/demo/server/server.php HTTPSSERVER=gggeek.ssl.altervista.org HTTPSURI=/sw/xmlrpc/demo/server/server.php PROXY=localhost:8080 -#after_script: +after_script: + cat $TRAVIS_BUILD_DIR/apache_error.log $TRAVIS_BUILD_DIR/apache_access.log /tmp/hhvm.log # # upload code-coverage to Scrutinizer # - wget https://scrutinizer-ci.com/ocular.phar # - php ocular.phar code-coverage:upload --format=php-clover coverage.clover diff --git a/tests/ci/travis/apache_vhost b/tests/ci/travis/apache_vhost index 26f70fe..6f05202 100644 --- a/tests/ci/travis/apache_vhost +++ b/tests/ci/travis/apache_vhost @@ -5,6 +5,9 @@ DocumentRoot %TRAVIS_BUILD_DIR% + ErrorLog "%TRAVIS_BUILD_DIR%/apache_error.log" + CustomLog "%TRAVIS_BUILD_DIR%/apache_access.log" combined + Options FollowSymLinks MultiViews ExecCGI AllowOverride All diff --git a/tests/ci/travis/apache_vhost_hhvm b/tests/ci/travis/apache_vhost_hhvm index 93436f6..94dfefe 100644 --- a/tests/ci/travis/apache_vhost_hhvm +++ b/tests/ci/travis/apache_vhost_hhvm @@ -5,6 +5,9 @@ DocumentRoot %TRAVIS_BUILD_DIR% + ErrorLog "%TRAVIS_BUILD_DIR%/apache_error.log" + CustomLog "%TRAVIS_BUILD_DIR%/apache_access.log" combined + Options FollowSymLinks MultiViews ExecCGI AllowOverride All