From 338bf9b05cce5dfe5dba4034dd85fb1163135108 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 22 Apr 2018 11:47:15 +0200 Subject: [PATCH] Show travis test of server --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index b26366b945f..79ee103521b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ # For syntax, see http://about.travis-ci.org/docs/user/languages/php/ # We use dist: precise to have php 5.3 available -#dist: precise +dist: precise sudo: required language: php @@ -264,14 +264,14 @@ before_script: script: - | - echo "Checking webserver availability" + echo "Checking webserver availability by a wget -O - http://127.0.0.1" # Ensure we catch errors set -e - wget http://127.0.0.1 - cat index.html - if [ "$DEBUG" = true ]; then - cat index.html - fi + wget -O - http://127.0.0.1 > test.html + head test.html + echo "Checking webserver availability by a wget -O - http://127.0.0.1/index.php" + wget -O - http://127.0.0.1/index.php > test.php + head test.php set +e echo