- - sudo apt-get install -y apache2 libapache2-mod-fastcgi
- - sudo apt-get install -y privoxy
-
- # Disable xdebug for speed (executing composer), but allow us to re-enable it later
- # NB: 'php -i' does not work on hhvm
- - if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then export XDEBUG_INI=''; fi
- - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then export XDEBUG_INI=`php -i | grep xdebug.ini | grep home/travis | grep -v '=>' | head -1`; fi
- - export XDEBUG_INI=${XDEBUG_INI/,/}
- - if [ "$XDEBUG_INI" != "" ]; then mv "$XDEBUG_INI" "$XDEBUG_INI.bak"; fi
+ # Just in case there are git misconfigurations: make sure scripts are executable
+ - sudo chmod 755 ./tests/ci/setup/*.sh
+ - sudo ./tests/ci/setup/setup_perl.sh
+ - sudo ./tests/ci/setup/setup_apache.sh
+ - sudo ./tests/ci/setup/setup_privoxy.sh
+ - ./tests/ci/setup/setup_php_travis.sh