]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - .travis.yml
**General rewording, proof-reading, deduplication, shortening, reordering, simplifica...
[github/shaarli/Shaarli.git] / .travis.yml
1 dist: bionic
2
3 matrix:
4 include:
5 # jobs for each supported php version
6 - language: php
7 php: 7.4
8 - language: php
9 php: 7.3
10 - language: php
11 php: 7.2
12 - language: php
13 php: 7.1
14 # jobs for frontend builds
15 - language: node_js
16 node_js: 8
17 cache:
18 yarn: true
19 directories:
20 - $HOME/.cache/yarn
21 install:
22 - yarn install
23 before_script:
24 - PATH=${PATH//:\.\/node_modules\/\.bin/}
25 script:
26 - yarn run build # verify successful frontend builds
27 - make eslint # javascript static analysis
28 - make sasslint # linter for SASS syntax
29 # jobs for documentation builds
30 - language: python
31 python: 3.6
32 cache:
33 directories:
34 - $HOME/.cache/pip
35 install:
36 - pip install mkdocs
37 script:
38 - mkdocs build --clean
39
40 cache:
41 directories:
42 - $HOME/.composer/cache
43
44 install:
45 # install/update composer and php dependencies
46 - composer install --prefer-dist
47
48 before_script:
49 - PATH=${PATH//:\.\/node_modules\/\.bin/}
50
51 script:
52 - make clean
53 - make check_permissions
54 - make all_tests