Skip to content

Commit

Permalink
Use travis build dir for running install-ngxblocker
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellkrogza committed May 1, 2017
1 parent 6cc9ac4 commit 4786ecb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions travis-ci/install-nginx2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@
#nginx -c "$DIR/nginx/nginx.conf"
echo $TRAVIS_BUILD_DIR
ls -la /etc/nginx
cd /usr/sbin
sudo wget https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/install-ngxblocker -O install-ngxblocker
sudo chmod +x install-ngxblocker
sudo ./install-ngxblocker -x
sudo chmod +x /home/travis/build/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration/install-ngxblocker
sudo /home/travis/build/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration/install-ngxblocker -x
ls -la /etc/nginx

0 comments on commit 4786ecb

Please sign in to comment.