mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
Revert "Removed curl tests from travis.yml and run them using new curl test bash script."
This reverts commit 5d234541a2
.
This commit is contained in:
parent
f472b3a641
commit
cb53860355
1 changed files with 8 additions and 0 deletions
|
@ -33,6 +33,14 @@ install:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- travisCI/install-nginx.sh
|
- travisCI/install-nginx.sh
|
||||||
|
- curl -vsf 'http://localhost:9000/index.php' &> /dev/stdout
|
||||||
|
- curl -A "googlebot" http://localhost:9000/index.php &> /dev/stdout
|
||||||
|
- curl -A "bingbot" http://localhost:9000/index.php &> /dev/stdout
|
||||||
|
- curl -I http://localhost:9000/index.php -e http://google.com
|
||||||
|
- STATUSCODE=$(curl -A "80legs" http://localhost:9000/index.php &> /dev/stderr --write-out "%{http_code}") | if test $STATUSCODE 52; then exit 0; fi
|
||||||
|
- STATUSCODE=$(curl -A "masscan" http://localhost:9000/index.php &> /dev/stderr --write-out "%{http_code}") | if test $STATUSCODE 52; then exit 0; fi
|
||||||
|
- STATUSCODE=$(curl -I http://localhost:9000/index.php -e http://100dollars-seo.com &> /dev/stderr --write-out "%{http_code}") | if test $STATUSCODE 52; then exit 0; fi
|
||||||
|
- STATUSCODE=$(curl -I http://localhost:9000/index.php -e http://zx6.ru &> /dev/stderr --write-out "%{http_code}") | if test $STATUSCODE 52; then exit 0; fi
|
||||||
- travisCI/run-curl-tests.sh
|
- travisCI/run-curl-tests.sh
|
||||||
- travisCI/modify-files-and-commit.sh
|
- travisCI/modify-files-and-commit.sh
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue