12 - sudo apt-get update -qq
15 - composer self-update && composer install
16 - sudo apt-get install -y apache2 libapache2-mod-fastcgi
19 # Disable xdebug. NB: this should NOT be done for hhvm...
20 - if [ $TRAVIS_PHP_VERSION != "hhvm" -a $TRAVIS_PHP_VERSION != "7.0" ]; then phpenv config-rm xdebug.ini; fi
22 # We set up an Apache instance inside the Travis VM and test it.
23 - sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then ./.travis/install_apache.sh; fi"
24 - sh -c "if [ '$TRAVIS_PHP_VERSION' = 'hhvm' ]; then ./.travis/install_apache_hhvm.sh; fi"
27 # to have code coverage: --coverage-clover=coverage.clover
28 phpunit tests LOCALSERVER=localhost URI=/demo/server/server.php HTTPSSERVER=gggeek.ssl.altervista.org HTTPSURI=/sw/xmlrpc/demo/server/server.php NOPROXY=1
31 # # upload code-coverage to Scrutinizer
32 # - wget https://scrutinizer-ci.com/ocular.phar
33 # - php ocular.phar code-coverage:upload --format=php-clover coverage.clover