Skip to content

Commit 204e642

Browse files
authored
Merge pull request #45 from samwilson/rm-hhvm
Remove hhvm and update other CI parameters
2 parents 48202fc + 3777c2e commit 204e642

File tree

3 files changed

+8
-40
lines changed

3 files changed

+8
-40
lines changed

.travis.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
11
language: php
22

33
php:
4-
- hhvm
5-
- 5.5
6-
- 5.6
7-
- 7.0
8-
- 7.1
4+
- "7.2"
5+
- "7.1"
6+
- "7.0"
97

108
env:
119
- MW=master
10+
- MW=REL1_32
11+
- MW=REL1_31
1212

1313
matrix:
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

2820
addons:
2921
mariadb: '10.0'

build/travis/install-mediawiki.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ set -x
44

55
originalDirectory=$(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-
137
mkdir ./../web
148
cd ./../web
159

build/travis/run-webserver.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,6 @@
22

33
set -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
176
nohup php -S 0.0.0.0:8080 -t ./../web > /dev/null 2>&1 &
187
until 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

0 commit comments

Comments
 (0)