]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - .travis.yml
Update translations (Japanese)
[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: nightly # PHP 8.0
8 install:
9 - composer self-update --2
10 - composer update --ignore-platform-req=php
11 - composer remove --dev --ignore-platform-req=php phpunit/phpunit
12 - composer require --dev --ignore-platform-req=php phpunit/php-text-template ^2.0
13 - composer require --dev --ignore-platform-req=php phpunit/phpunit ^9.0
14 - language: php
15 php: 7.4
16 - language: php
17 php: 7.3
18 - language: php
19 php: 7.2
20 - language: php
21 php: 7.1
22 # jobs for frontend builds
23 - language: node_js
24 node_js: 10
25 cache:
26 yarn: true
27 directories:
28 - $HOME/.cache/yarn
29 install:
30 - yarn install
31 before_script:
32 - PATH=${PATH//:\.\/node_modules\/\.bin/}
33 script:
34 - yarn run build # verify successful frontend builds
35 - make eslint # javascript static analysis
36 - make sasslint # linter for SASS syntax
37 # jobs for documentation builds
38 - language: python
39 python: 3.6
40 cache:
41 directories:
42 - $HOME/.cache/pip
43 install:
44 - pip install mkdocs
45 script:
46 - mkdocs build --clean
47
48 cache:
49 directories:
50 - $HOME/.composer/cache
51
52 install:
53 # install/update composer and php dependencies
54 - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION
55 - composer update
56
57 before_script:
58 - PATH=${PATH//:\.\/node_modules\/\.bin/}
59
60 script:
61 - make clean
62 - make check_permissions
63 - make all_tests