From 3baef9f510197a2282135af308cff85b0d45bf96 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Fri, 28 Jul 2017 17:56:19 -0700 Subject: [PATCH] build: Update Travis CI config to use fast Trusty containers We tried this before when Trusty containers were still in Beta, but the issues we ran into at the time have since been fixed. 1. Missing package djvulibre-bin: Fixed. https://github.com/travis-ci/apt-package-whitelist/issues/4036 2. MySQL launch problems: Fixed https://github.com/travis-ci/travis-ci/issues/5837 https://github.com/travis-ci/travis-ci/issues/6842 Also add HHVM 3.18 to the test matrix (latest currently preinstalled version of HHVM). Change-Id: I2f56e303c01f069207fb086e784e49292ea4eb58 --- .travis.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5e2c7a00db..cde7193424 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,11 +7,12 @@ # complement that setup by testing MediaWiki on travis # language: php -# Use the slower sudo-enabled VMs instead of fast containers: -# - Package 'djvulibre-bin' is not yet whitelisted for trusty containers. -# https://github.com/travis-ci/apt-package-whitelist/issues/4036 -sudo: required -# Use Trusty instead of Travis default (precise) + + +# Use fast containers instead of the slower sudo-enabled VMs: +sudo: false +# Use Ubuntu 14 Trusty (not Ubuntu 12 Precise) +# # - Required in order to use HHVM 3.6 or higher. # - Required for non-buggy xml library for XmlTypeCheck/UploadBaseTest (T75176). dist: trusty @@ -25,10 +26,11 @@ matrix: php: 5.5 - env: dbtype=postgres dbuser=travis php: 5.5 + # https://docs.travis-ci.com/user/languages/php#HHVM-versions - env: dbtype=mysql dbuser=root - # https://docs.travis-ci.com/user/languages/php#HHVM-versions - # https://github.com/travis-ci/travis-ci/issues/7368 php: hhvm-3.12 + - env: dbtype=mysql dbuser=root + php: hhvm-3.18 - env: dbtype=mysql dbuser=root php: 7 -- 2.20.1