From cb53860355cc297ac023723566c8268186121160 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Wed, 28 Jun 2017 16:40:13 +0200 Subject: [PATCH] Revert "Removed curl tests from travis.yml and run them using new curl test bash script." This reverts commit 5d234541a246034e63695f81db4aba9693cf4a5c. --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index c5d4d6f22..237320c6a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,6 +33,14 @@ install: script: - 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/modify-files-and-commit.sh