X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=.travis.yml;h=07b18e67b2ab4c5ec0979ea11456bf35bf80efd4;hb=247724d82c86b0e6ad23f8574406bb6fc6eaa308;hp=b28861d4e2014b4651e8311ae395df887f0f82ca;hpb=1d5344025f02e1b2b9646c6d88083255edd87f58;p=lhc%2Fweb%2Fwiklou.git diff --git a/.travis.yml b/.travis.yml index b28861d4e2..07b18e67b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,11 +17,25 @@ sudo: false # - Required for non-buggy xml library for XmlTypeCheck/UploadBaseTest (T75176). dist: trusty +git: + depth: 3 + quiet: true + +# 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 @@ -31,16 +45,11 @@ matrix: - 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: 7.3 - php: hhvm-3.18 - - php: hhvm-3.21 - - php: hhvm-3.24 services: - mysql