Skip to content

Commit

Permalink
Show travis test of server
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Apr 22, 2018
1 parent fc7c9ad commit 338bf9b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 338bf9b

Please sign in to comment.