- - 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
- # @todo move to setup_php
- - export XDEBUG_INI=`php -i | grep xdebug.ini | grep home/travis | grep -v '=>' | head -1`
- - 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_apache.sh
+ - sudo ./tests/ci/setup/setup_privoxy.sh
+ - ./tests/ci/setup/setup_php_travis.sh