]>
Commit | Line | Data |
---|---|---|
1 | dist: bionic | |
2 | ||
3 | matrix: | |
4 | include: | |
5 | # jobs for each supported php version | |
6 | - language: php | |
7 | php: nightly # PHP 8.0 | |
8 | install: | |
9 | - composer self-update --2 | |
10 | - composer update --ignore-platform-req=php | |
11 | - language: php | |
12 | php: 7.4 | |
13 | - language: php | |
14 | php: 7.3 | |
15 | - language: php | |
16 | php: 7.2 | |
17 | - language: php | |
18 | php: 7.1 | |
19 | # jobs for frontend builds | |
20 | - language: node_js | |
21 | node_js: 10 | |
22 | cache: | |
23 | yarn: true | |
24 | directories: | |
25 | - $HOME/.cache/yarn | |
26 | install: | |
27 | - yarn install | |
28 | before_script: | |
29 | - PATH=${PATH//:\.\/node_modules\/\.bin/} | |
30 | script: | |
31 | - yarn run build # verify successful frontend builds | |
32 | - make eslint # javascript static analysis | |
33 | - make sasslint # linter for SASS syntax | |
34 | # jobs for documentation builds | |
35 | - language: python | |
36 | python: 3.6 | |
37 | cache: | |
38 | directories: | |
39 | - $HOME/.cache/pip | |
40 | install: | |
41 | - pip install mkdocs | |
42 | script: | |
43 | - mkdocs build --clean | |
44 | ||
45 | cache: | |
46 | directories: | |
47 | - $HOME/.composer/cache | |
48 | ||
49 | install: | |
50 | # install/update composer and php dependencies | |
51 | - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION | |
52 | - composer update | |
53 | ||
54 | before_script: | |
55 | - PATH=${PATH//:\.\/node_modules\/\.bin/} | |
56 | ||
57 | script: | |
58 | - make clean | |
59 | - make check_permissions | |
60 | - make all_tests |