From 2ba26aa6bc64d6cf742f3360920308b5bdbbd911 Mon Sep 17 00:00:00 2001 From: gggeek Date: Thu, 19 Mar 2015 22:13:11 +0000 Subject: [PATCH] Move travis config in a subdir of tests; enable debug to help with travis/php5.6 --- .travis.yml | 6 +- doc/custom.xsl | 176 +++++++++--------- {.travis => tests/ci/travis}/apache_vhost | 0 .../ci/travis}/apache_vhost_hhvm | 0 .../ci/travis}/install_apache.sh | 2 +- .../ci/travis}/install_apache_hhvm.sh | 2 +- 6 files changed, 95 insertions(+), 91 deletions(-) rename {.travis => tests/ci/travis}/apache_vhost (100%) rename {.travis => tests/ci/travis}/apache_vhost_hhvm (100%) rename {.travis => tests/ci/travis}/install_apache.sh (90%) mode change 100755 => 100644 rename {.travis => tests/ci/travis}/install_apache_hhvm.sh (85%) mode change 100755 => 100644 diff --git a/.travis.yml b/.travis.yml index da4e646a..a41255c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,12 +20,12 @@ before_script: - if [ $TRAVIS_PHP_VERSION != "hhvm" -a $TRAVIS_PHP_VERSION != "7.0" ]; then phpenv config-rm xdebug.ini; fi # We set up an Apache instance inside the Travis VM and test it. - - sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then ./.travis/install_apache.sh; fi" - - sh -c "if [ '$TRAVIS_PHP_VERSION' = 'hhvm' ]; then ./.travis/install_apache_hhvm.sh; fi" + - sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then ./tests/ci/travis/install_apache.sh; fi" + - sh -c "if [ '$TRAVIS_PHP_VERSION' = 'hhvm' ]; then ./tests/ci/travis/install_apache_hhvm.sh; fi" 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 NOPROXY=1 + phpunit tests LOCALSERVER=localhost URI=/demo/server/server.php HTTPSSERVER=gggeek.ssl.altervista.org HTTPSURI=/sw/xmlrpc/demo/server/server.php NOPROXY=1 DEBUG=1 #after_script: # # upload code-coverage to Scrutinizer diff --git a/doc/custom.xsl b/doc/custom.xsl index 7a2e6bb2..f648887a 100644 --- a/doc/custom.xsl +++ b/doc/custom.xsl @@ -1,87 +1,91 @@ - - - - - - - - - - -no -ansi -xmlrpc.css -0 - - - - - - - - - - ( - - - - - - - - - - - - void ) - - - - ... - ) - - - - - - - , - - - ) - - - - - - - - - - - - - - - - - - - - - - - - = - - - - + + + + + + + + + + +no +ansi +xmlrpc.css +0 + + + + + + + + + + ( + + + + + + + + + + + + void ) + + + + ... + ) + + + + + + + , + + + ) + + + + + + + + + + + + + + + + + + + + + + + + = + + + + \ No newline at end of file diff --git a/.travis/apache_vhost b/tests/ci/travis/apache_vhost similarity index 100% rename from .travis/apache_vhost rename to tests/ci/travis/apache_vhost diff --git a/.travis/apache_vhost_hhvm b/tests/ci/travis/apache_vhost_hhvm similarity index 100% rename from .travis/apache_vhost_hhvm rename to tests/ci/travis/apache_vhost_hhvm diff --git a/.travis/install_apache.sh b/tests/ci/travis/install_apache.sh old mode 100755 new mode 100644 similarity index 90% rename from .travis/install_apache.sh rename to tests/ci/travis/install_apache.sh index e7a5fe53..c5b0875e --- a/.travis/install_apache.sh +++ b/tests/ci/travis/install_apache.sh @@ -12,6 +12,6 @@ echo "cgi.fix_pathinfo = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php ~/.phpenv/versions/$(phpenv version-name)/sbin/php-fpm # configure apache virtual hosts -sudo cp -f .travis/apache_vhost /etc/apache2/sites-available/default +sudo cp -f tests/ci/apache_vhost /etc/apache2/sites-available/default sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/default sudo service apache2 restart diff --git a/.travis/install_apache_hhvm.sh b/tests/ci/travis/install_apache_hhvm.sh old mode 100755 new mode 100644 similarity index 85% rename from .travis/install_apache_hhvm.sh rename to tests/ci/travis/install_apache_hhvm.sh index 9e2869d2..1ff3ddd8 --- a/.travis/install_apache_hhvm.sh +++ b/tests/ci/travis/install_apache_hhvm.sh @@ -10,6 +10,6 @@ sudo a2enmod rewrite actions fastcgi alias hhvm -m daemon -vServer.Type=fastcgi -vServer.Port=9000 -vServer.FixPathInfo=true # configure apache virtual hosts -sudo cp -f .travis/apache_vhost_hhvm /etc/apache2/sites-available/default +sudo cp -f tests/ci/travis/apache_vhost_hhvm /etc/apache2/sites-available/default sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/default sudo service apache2 restart \ No newline at end of file -- 2.47.0