Try to use Trusty
This commit is contained in:
parent
06cbc19103
commit
6394996cd5
12
.travis.yml
12
.travis.yml
@ -3,7 +3,7 @@
|
|||||||
# For syntax, see http://about.travis-ci.org/docs/user/languages/php/
|
# For syntax, see http://about.travis-ci.org/docs/user/languages/php/
|
||||||
|
|
||||||
# We use dist: precise to have php 5.3 available
|
# We use dist: precise to have php 5.3 available
|
||||||
dist: precise
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
|
|
||||||
language: php
|
language: php
|
||||||
@ -267,20 +267,12 @@ script:
|
|||||||
echo "Checking webserver availability by a wget -O - http://127.0.0.1"
|
echo "Checking webserver availability by a wget -O - http://127.0.0.1"
|
||||||
# Ensure we catch errors
|
# Ensure we catch errors
|
||||||
set -e
|
set -e
|
||||||
|
# The wget should return a page with line '<meta name="generator" content="Dolibarr installer">
|
||||||
wget -O - http://127.0.0.1 > test.html
|
wget -O - http://127.0.0.1 > test.html
|
||||||
head test.html
|
head test.html
|
||||||
set +e
|
set +e
|
||||||
echo
|
echo
|
||||||
|
|
||||||
- |
|
|
||||||
echo "Checking webserver availability by a wget -O - http://127.0.0.1/index.php"
|
|
||||||
# Ensure we catch errors
|
|
||||||
set -e
|
|
||||||
wget -O - http://127.0.0.1/index.php > test.php
|
|
||||||
head test.php
|
|
||||||
set +e
|
|
||||||
echo
|
|
||||||
|
|
||||||
- |
|
- |
|
||||||
echo "Checking PHP syntax errors"
|
echo "Checking PHP syntax errors"
|
||||||
# Ensure we catch errors
|
# Ensure we catch errors
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user