diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 42 |
1 files changed, 32 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml index 1b2bf97b..eee1ca74 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -1,23 +1,45 @@ | |||
1 | sudo: false | 1 | sudo: false |
2 | dist: trusty | 2 | dist: trusty |
3 | language: php | 3 | |
4 | matrix: | ||
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 | - make sasslint | ||
31 | |||
4 | cache: | 32 | cache: |
5 | yarn: true | ||
6 | directories: | 33 | directories: |
7 | - $HOME/.composer/cache | 34 | - $HOME/.composer/cache |
8 | - $HOME/.cache/yarn | 35 | |
9 | php: | ||
10 | - 7.2 | ||
11 | - 7.1 | ||
12 | - 7.0 | ||
13 | - 5.6 | ||
14 | install: | 36 | install: |
15 | - yarn install | ||
16 | - composer install --prefer-dist | 37 | - composer install --prefer-dist |
38 | |||
17 | before_script: | 39 | before_script: |
18 | - PATH=${PATH//:\.\/node_modules\/\.bin/} | 40 | - PATH=${PATH//:\.\/node_modules\/\.bin/} |
41 | |||
19 | script: | 42 | script: |
20 | - make clean | 43 | - make clean |
21 | - make check_permissions | 44 | - make check_permissions |
22 | - make eslint | ||
23 | - make all_tests | 45 | - make all_tests |