From e29f0952990433bb8589b8da9b6c4fe61807c6b6 Mon Sep 17 00:00:00 2001 From: gggeek Date: Fri, 20 Mar 2015 10:57:10 +0000 Subject: [PATCH] Display apache logs in travis console --- .travis.yml | 3 ++- tests/ci/travis/apache_vhost | 3 +++ tests/ci/travis/apache_vhost_hhvm | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f942a8c8..c1a57b3f 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 26f70feb..6f052023 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 93436f6d..94dfefe1 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 -- 2.47.0