File tree Expand file tree Collapse file tree 3 files changed +8
-40
lines changed
Expand file tree Collapse file tree 3 files changed +8
-40
lines changed Original file line number Diff line number Diff line change 11language : php
22
33php :
4- - hhvm
5- - 5.5
6- - 5.6
7- - 7.0
8- - 7.1
4+ - " 7.2"
5+ - " 7.1"
6+ - " 7.0"
97
108env :
119 - MW=master
10+ - MW=REL1_32
11+ - MW=REL1_31
1212
1313matrix :
1414 include :
15- - php : 7.1
16- env : MW=REL1_28
17- - php : 7.1
15+ - php : " 7.1"
16+ env : MW=REL1_27
17+ - php : " 5.5 "
1818 env : MW=REL1_27
19- - php : 7.1
20- env : MW=REL1_26
21- - php : 7.1
22- env : MW=REL1_25
23- - php : 7.1
24- env : MW=REL1_24
25- allow_failures :
26- - env : MW=REL1_24
2719
2820addons :
2921 mariadb : ' 10.0'
Original file line number Diff line number Diff line change 44
55originalDirectory=$( pwd)
66
7- if [[ $TRAVIS_PHP_VERSION == * " hhvm" * ]]
8- then
9- PHPINI=/etc/hhvm/php.ini
10- echo " hhvm.enable_zend_compat = true" >> $PHPINI
11- fi
12-
137mkdir ./../web
148cd ./../web
159
Original file line number Diff line number Diff line change 22
33set -x
44
5- # HHVM doesn't have a built in web server
6- # We can't guarantee any single PHP version is always installed on Travis hosts
7- # So list the versions and try to pick the latest PHP version
8- # Also the web server on 7.1 seems to have issues, so don't use that?
9- if [[ $TRAVIS_PHP_VERSION == * " hhvm" * ]] || [[ $TRAVIS_PHP_VERSION == * " 7.1" * ]]
10- then
11- WEBSERVERPHPVERSION=` phpenv versions | grep -v system | grep -v hhvm | grep -v 7.1 | tail -n 1 | xargs`
12- phpenv global $WEBSERVERPHPVERSION
13- php --version
14- fi
15-
165# Run a web server for MediaWiki and wait until it is up
176nohup php -S 0.0.0.0:8080 -t ./../web > /dev/null 2>&1 &
187until curl -s localhost:8080; do true ; done > /dev/null 2>&1
19-
20- # Switch back to the actual php version requested for this build if needed
21- if [ -v $WEBSERVERPHPVERSION ]
22- then
23- phpenv global $TRAVIS_PHP_VERSION
24- php --version
25- fi
You can’t perform that action at this time.
0 commit comments