diff options
author | nodiscc <nodiscc@gmail.com> | 2020-09-12 12:38:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-12 12:38:05 +0000 |
commit | e809908f9e593b2cec11f72849caa1dae6394451 (patch) | |
tree | b26f77ec59b7c25800599d751212db72cfc65870 /.travis.yml | |
parent | 6128ab6a55430a2b705be31ff417c0c552a0db1f (diff) | |
parent | 97870f35121bed42ac126652d81bc43416b44356 (diff) | |
download | Shaarli-e809908f9e593b2cec11f72849caa1dae6394451.tar.gz Shaarli-e809908f9e593b2cec11f72849caa1dae6394451.tar.zst Shaarli-e809908f9e593b2cec11f72849caa1dae6394451.zip |
Merge pull request #1389 from shaarli/doc-rework-setup
doc: rework installation/setup guides, general refactoring
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index d04a45d1..c414967b 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -2,6 +2,7 @@ dist: bionic | |||
2 | 2 | ||
3 | matrix: | 3 | matrix: |
4 | include: | 4 | include: |
5 | # jobs for each supported php version | ||
5 | - language: php | 6 | - language: php |
6 | php: 7.4 | 7 | php: 7.4 |
7 | - language: php | 8 | - language: php |
@@ -10,23 +11,22 @@ matrix: | |||
10 | php: 7.2 | 11 | php: 7.2 |
11 | - language: php | 12 | - language: php |
12 | php: 7.1 | 13 | php: 7.1 |
14 | # jobs for frontend builds | ||
13 | - language: node_js | 15 | - language: node_js |
14 | node_js: 8 | 16 | node_js: 8 |
15 | cache: | 17 | cache: |
16 | yarn: true | 18 | yarn: true |
17 | directories: | 19 | directories: |
18 | - $HOME/.cache/yarn | 20 | - $HOME/.cache/yarn |
19 | |||
20 | install: | 21 | install: |
21 | - yarn install | 22 | - yarn install |
22 | |||
23 | before_script: | 23 | before_script: |
24 | - PATH=${PATH//:\.\/node_modules\/\.bin/} | 24 | - PATH=${PATH//:\.\/node_modules\/\.bin/} |
25 | |||
26 | script: | 25 | script: |
27 | - yarn run build # Just to be sure that the build isn't broken | 26 | - yarn run build # verify successful frontend builds |
28 | - make eslint | 27 | - make eslint # javascript static analysis |
29 | - make sasslint | 28 | - make sasslint # linter for SASS syntax |
29 | # jobs for documentation builds | ||
30 | - language: python | 30 | - language: python |
31 | python: 3.6 | 31 | python: 3.6 |
32 | cache: | 32 | cache: |
@@ -42,6 +42,7 @@ cache: | |||
42 | - $HOME/.composer/cache | 42 | - $HOME/.composer/cache |
43 | 43 | ||
44 | install: | 44 | install: |
45 | # install/update composer and php dependencies | ||
45 | - composer install --prefer-dist | 46 | - composer install --prefer-dist |
46 | 47 | ||
47 | before_script: | 48 | before_script: |