Skip to content

Commit 6cc9ac4

Browse files
Test NGXBB install script
1 parent 7a2f4fe commit 6cc9ac4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ addons:
1818
apt:
1919
packages:
2020
- nginx-full
21-
install:
21+
#install:
2222
#- sudo add-apt-repository -y ppa:nginx/stable
2323
#- sudo apt-get update
2424
#- sudo apt-get install -y --force-yes nginx-extras

travis-ci/install-nginx2.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,9 @@
5959
# Start nginx.
6060
#nginx -c "$DIR/nginx/nginx.conf"
6161
echo $TRAVIS_BUILD_DIR
62+
ls -la /etc/nginx
63+
cd /usr/sbin
64+
sudo wget https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/install-ngxblocker -O install-ngxblocker
65+
sudo chmod +x install-ngxblocker
66+
sudo ./install-ngxblocker -x
6267
ls -la /etc/nginx

0 commit comments

Comments
 (0)