]>
Commit | Line | Data |
---|---|---|
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: 10 | |
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 config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION | |
47 | - composer update | |
48 | ||
49 | before_script: | |
50 | - PATH=${PATH//:\.\/node_modules\/\.bin/} | |
51 | ||
52 | script: | |
53 | - make clean | |
54 | - make check_permissions | |
55 | - make all_tests |