X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.travis.yml;h=afccce0836fea7f0935ca9c308b3583e13effb90;hb=e011be01701e7f0f2bee9a5de3f062a5ca1b17df;hp=d14154239f6b07af965b979cadebb92a3494d715;hpb=91af3e6b19de598eb590e6783bfb356e51a2cd57;p=github%2Fshaarli%2FShaarli.git diff --git a/.travis.yml b/.travis.yml index d1415423..afccce08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,31 +1,32 @@ -sudo: false -dist: trusty +dist: bionic matrix: include: + # jobs for each supported php version + - language: php + php: 7.4 - language: php php: 7.3 - language: php php: 7.2 - language: php php: 7.1 + # jobs for frontend builds - language: node_js - node_js: 8 + node_js: 10 cache: yarn: true directories: - $HOME/.cache/yarn - install: - yarn install - before_script: - PATH=${PATH//:\.\/node_modules\/\.bin/} - script: - - yarn run build # Just to be sure that the build isn't broken - - make eslint - - make sasslint + - yarn run build # verify successful frontend builds + - make eslint # javascript static analysis + - make sasslint # linter for SASS syntax + # jobs for documentation builds - language: python python: 3.6 cache: @@ -41,7 +42,8 @@ cache: - $HOME/.composer/cache install: - - composer install --prefer-dist + # install/update composer and php dependencies + - composer update --ignore-platform-reqs before_script: - PATH=${PATH//:\.\/node_modules\/\.bin/}