X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=.travis.yml;h=e4a173dce69d1468c8c202bcdda19270932cfe9d;hb=1fa31b61a012e638b0977b47a3db2bc059272257;hp=b28861d4e2014b4651e8311ae395df887f0f82ca;hpb=0756849eb8450909d14dcb619307bdf07f0c7fcd;p=lhc%2Fweb%2Fwiklou.git diff --git a/.travis.yml b/.travis.yml index b28861d4e2..e4a173dce6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,20 +8,26 @@ # language: php - -# 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 +# Cache NPM and Composer directories +# +cache: + npm: true + directories: + # Composer doesn't have a dedicated cache setting in Travis CI config, so set the directory path instead. + - vendor + matrix: fast_finish: true include: # On Trusty, mysql user 'travis' doesn't have create database rights # Postgres has no user called 'root'. + - env: dbtype=mysql dbuser=root + php: 7.3 - env: dbtype=mysql dbuser=root php: 7.2 - env: dbtype=mysql dbuser=root @@ -30,17 +36,8 @@ matrix: php: 7.1 - env: dbtype=mysql dbuser=root php: 7 - # https://docs.travis-ci.com/user/languages/php#HHVM-versions - - env: dbtype=mysql dbuser=root - php: hhvm-3.24 - - env: dbtype=mysql dbuser=root - php: hhvm-3.21 - - env: dbtype=mysql dbuser=root - php: hhvm-3.18 allow_failures: - - php: hhvm-3.18 - - php: hhvm-3.21 - - php: hhvm-3.24 + - php: 7.3 services: - mysql