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:
Mitchell Krog 2017-06-28 16:40:13 +02:00
parent f472b3a641
commit cb53860355

View file

@ -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