Skip to content

Commit 1a3f20e

Browse files
Fix ordering of install commands
1 parent c743428 commit 1a3f20e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ 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
4541
# Copy our virtual host template to sites-enabled overwriting the default site conf
4642
- sudo cp travisCI/defaultsite.tpl /etc/apache2/sites-available/000-default.conf
4743
# Copy basic testing files into /var/www
@@ -51,6 +47,10 @@ before_install:
5147
- sudo a2enmod rewrite
5248
# Set ServerName Globally
5349
- sudo cp travisCI/servername.tpl /etc/apache2/conf-available/servername.conf
50+
# Add testing of Apache Bad Bot Blocker
51+
- sudo mkdir /etc/apache2/custom.d
52+
- cd /etc/apache2/custom.d
53+
- sudo wget https://raw.githubusercontent.com/mitchellkrogza/apache-ultimate-bad-bot-blocker/master/custom.d/globalblacklist.conf
5454
- sudo a2enconf servername
5555
# Restart apache
5656
- sudo service apache2 restart

0 commit comments

Comments
 (0)