X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=.travis.yml;h=9dc2ef7789f25734e7edfd75a5744112d57f5553;hb=2b14cc0096de48b4863ea7daee55951701f6dc99;hp=ad35b76177acde4f4e2f8e2e138a0a6467447f95;hpb=84662b72f073f2df3aa8e8e209da0bc568b91716;p=lhc%2Fweb%2Fwiklou.git diff --git a/.travis.yml b/.travis.yml index ad35b76177..9dc2ef7789 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,20 +8,30 @@ # 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 +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 @@ -30,18 +40,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: 7.2 - - php: hhvm-3.18 - - php: hhvm-3.21 - - php: hhvm-3.24 + - php: 7.3 services: - mysql