X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.travis.yml;h=fb95235c47e9df69da16db1ce9eb230832f861a2;hb=98325d646e0e94ccb3a3fdda1ca688ad0d888aa6;hp=f466c3171d6d3192cf468b0acb0fcf88d356a1fa;hpb=def39d0dd7a81a4af9ad68b62c9e9823fbc2b38e;p=github%2Fshaarli%2FShaarli.git diff --git a/.travis.yml b/.travis.yml index f466c317..fb95235c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ -sudo: false -dist: trusty +dist: bionic matrix: include: + # jobs for each supported php version - language: php php: 7.4 - language: php @@ -11,23 +11,22 @@ matrix: 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: @@ -43,6 +42,7 @@ cache: - $HOME/.composer/cache install: + # install/update composer and php dependencies - composer install --prefer-dist before_script: