]>
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 | |
def39d0d A |
8 | - language: php |
9 | php: 7.4 | |
9f0c719c A |
10 | - language: php |
11 | php: 7.3 | |
16d35cf7 A |
12 | - language: php |
13 | php: 7.2 | |
14 | - language: php | |
15 | php: 7.1 | |
91a21c27 | 16 | # jobs for frontend builds |
16d35cf7 | 17 | - language: node_js |
98325d64 | 18 | node_js: 10 |
16d35cf7 A |
19 | cache: |
20 | yarn: true | |
21 | directories: | |
22 | - $HOME/.cache/yarn | |
16d35cf7 A |
23 | install: |
24 | - yarn install | |
16d35cf7 A |
25 | before_script: |
26 | - PATH=${PATH//:\.\/node_modules\/\.bin/} | |
16d35cf7 | 27 | script: |
91a21c27 | 28 | - yarn run build # verify successful frontend builds |
29 | - make eslint # javascript static analysis | |
30 | - make sasslint # linter for SASS syntax | |
31 | # jobs for documentation builds | |
c1503307 V |
32 | - language: python |
33 | python: 3.6 | |
34 | cache: | |
35 | directories: | |
36 | - $HOME/.cache/pip | |
37 | install: | |
38 | - pip install mkdocs | |
39 | script: | |
40 | - mkdocs build --clean | |
16d35cf7 | 41 | |
ae04803b V |
42 | cache: |
43 | directories: | |
44 | - $HOME/.composer/cache | |
16d35cf7 | 45 | |
13d07f96 | 46 | install: |
91a21c27 | 47 | # install/update composer and php dependencies |
2b7a7bc9 | 48 | - if [[ $TRAVIS_PHP_VERSION == "nightly" ]]; then export TRAVIS_PHP_VERSION="8.0.0"; fi |
24225f63 A |
49 | - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION |
50 | - composer update | |
16d35cf7 | 51 | |
d6379763 A |
52 | before_script: |
53 | - PATH=${PATH//:\.\/node_modules\/\.bin/} | |
16d35cf7 | 54 | |
b5c33d70 | 55 | script: |
d0ce99e5 | 56 | - make clean |
fc17813b | 57 | - make check_permissions |
36c8fb1e | 58 | - make all_tests |