Fix testing of test list Ref: #264

This commit is contained in:
Mitchell Krog 2019-06-20 13:19:32 +02:00
parent f91628262d
commit bcbeba83b5
No known key found for this signature in database
GPG key ID: C243C388553EDE5D
3 changed files with 8 additions and 13 deletions

View file

@ -41,9 +41,9 @@
# Run testing of test version
# *******************************************************
# Make sure we test latest generated globalblacklist.conf
# *******************************************************
# ***********************************************************************
# Make sure we test latest generated globalblacklist-testing-version.conf
# ***********************************************************************
printf '\n%s\n%s\n%s\n\n' "##############################################################################" "Copy latest generated globalblacklist.conf file to test for any compile errors" "##############################################################################"
sudo cp ${TRAVIS_BUILD_DIR}/conf.d/globalblacklist-testing-version.conf /etc/nginx/conf.d/globalblacklist.conf
@ -55,13 +55,6 @@ sudo cp ${TRAVIS_BUILD_DIR}/conf.d/globalblacklist-testing-version.conf /etc/ngi
printf '\n%s\n%s\n%s\n\n' "########################" "Force Reloading of Nginx" "########################"
sudo service nginx reload
sudo cp ${TRAVIS_BUILD_DIR}/.dev-tools/default13.vhost /etc/nginx/sites-available/default.vhost
sudo service nginx reload
sudo systemctl enable nginx
sudo systemctl start nginx
sudo systemctl reload nginx
# **********************
# Now Run our Curl Tests
# **********************