]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - .travis.yml
Use Travis stages to run JS tests separately
[github/shaarli/Shaarli.git] / .travis.yml
CommitLineData
39d06fa5 1sudo: false
dfc2c335 2dist: trusty
16d35cf7
A
3
4matrix:
5 include:
6 - language: php
7 php: 7.2
8 - language: php
9 php: 7.1
10 - language: php
11 php: 7.0
12 - language: php
13 php: 5.6
14 - language: node_js
15 node_js: 8
16 cache:
17 yarn: true
18 directories:
19 - $HOME/.cache/yarn
20
21 install:
22 - yarn install
23
24 before_script:
25 - PATH=${PATH//:\.\/node_modules\/\.bin/}
26
27 script:
28 - yarn run build # Just to be sure that the build isn't broken
29 - make eslint
30
ae04803b
V
31cache:
32 directories:
33 - $HOME/.composer/cache
16d35cf7 34
13d07f96 35install:
ae04803b 36 - composer install --prefer-dist
16d35cf7 37
d6379763
A
38before_script:
39 - PATH=${PATH//:\.\/node_modules\/\.bin/}
16d35cf7 40
b5c33d70 41script:
d0ce99e5 42 - make clean
fc17813b 43 - make check_permissions
36c8fb1e 44 - make all_tests