]>
Commit | Line | Data |
---|---|---|
7e884740 | 1 | dist: bionic |
16d35cf7 A |
2 | |
3 | matrix: | |
4 | include: | |
91a21c27 | 5 | # jobs for each supported php version |
2b7a7bc9 A |
6 | - language: php |
7 | php: nightly # PHP 8.0 | |
a5a9cf23 A |
8 | install: |
9 | - composer self-update --2 | |
10 | - composer update --ignore-platform-req=php | |
def39d0d A |
11 | - language: php |
12 | php: 7.4 | |
9f0c719c A |
13 | - language: php |
14 | php: 7.3 | |
16d35cf7 A |
15 | - language: php |
16 | php: 7.2 | |
17 | - language: php | |
18 | php: 7.1 | |
91a21c27 | 19 | # jobs for frontend builds |
16d35cf7 | 20 | - language: node_js |
98325d64 | 21 | node_js: 10 |
16d35cf7 A |
22 | cache: |
23 | yarn: true | |
24 | directories: | |
25 | - $HOME/.cache/yarn | |
16d35cf7 A |
26 | install: |
27 | - yarn install | |
16d35cf7 A |
28 | before_script: |
29 | - PATH=${PATH//:\.\/node_modules\/\.bin/} | |
16d35cf7 | 30 | script: |
91a21c27 | 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 | |
c1503307 V |
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 | |
16d35cf7 | 44 | |
ae04803b V |
45 | cache: |
46 | directories: | |
47 | - $HOME/.composer/cache | |
16d35cf7 | 48 | |
13d07f96 | 49 | install: |
91a21c27 | 50 | # install/update composer and php dependencies |
24225f63 A |
51 | - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION |
52 | - composer update | |
16d35cf7 | 53 | |
d6379763 A |
54 | before_script: |
55 | - PATH=${PATH//:\.\/node_modules\/\.bin/} | |
16d35cf7 | 56 | |
b5c33d70 | 57 | script: |
d0ce99e5 | 58 | - make clean |
fc17813b | 59 | - make check_permissions |
36c8fb1e | 60 | - make all_tests |