]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - .travis.yml
Move PHP and config init to dedicated file
[github/shaarli/Shaarli.git] / .travis.yml
CommitLineData
7e884740 1dist: bionic
16d35cf7
A
2
3matrix:
4 include:
def39d0d
A
5 - language: php
6 php: 7.4
9f0c719c
A
7 - language: php
8 php: 7.3
16d35cf7
A
9 - language: php
10 php: 7.2
11 - language: php
12 php: 7.1
16d35cf7
A
13 - language: node_js
14 node_js: 8
15 cache:
16 yarn: true
17 directories:
18 - $HOME/.cache/yarn
19
20 install:
21 - yarn install
22
23 before_script:
24 - PATH=${PATH//:\.\/node_modules\/\.bin/}
25
26 script:
27 - yarn run build # Just to be sure that the build isn't broken
28 - make eslint
03b483aa 29 - make sasslint
c1503307
V
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
16d35cf7 39
ae04803b
V
40cache:
41 directories:
42 - $HOME/.composer/cache
16d35cf7 43
13d07f96 44install:
ae04803b 45 - composer install --prefer-dist
16d35cf7 46
d6379763
A
47before_script:
48 - PATH=${PATH//:\.\/node_modules\/\.bin/}
16d35cf7 49
b5c33d70 50script:
d0ce99e5 51 - make clean
fc17813b 52 - make check_permissions
36c8fb1e 53 - make all_tests