File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ before_install:
3838 # Install PHP 7.0
3939 - sudo apt-get update
4040 - sudo apt-get install -y --force-yes php7.0 libapache2-mod-php7.0 php7.0-fpm
41+ # Add testing of Apache Bad Bot Blocker
42+ - sudo mkdir /etc/apache2/custom.d
43+ - cd /etc/apache2/custom.d
44+ - sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf
4145 # Copy our virtual host template to sites-enabled overwriting the default site conf
4246 - sudo cp travisCI/defaultsite.tpl /etc/apache2/sites-available/000-default.conf
4347 # Copy basic testing files into /var/www
@@ -52,11 +56,6 @@ before_install:
5256 - sudo service apache2 restart
5357 # Restart PHP
5458 - sudo service php7.0-fpm restart
55- # Add testing of Apache Bad Bot Blocker
56- - sudo mkdir /etc/apache2/custom.d
57- - cd /etc/apache2/custom.d
58- - sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf
59- - sudo service apache2 restart
6059
6160script :
6261 # Do a lookup on local.dev hostname set above
You can’t perform that action at this time.
0 commit comments