summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml26
1 files changed, 14 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index e0fd7b8ae..7579878b7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,5 @@
1matrix: 1matrix:
2 fast_finish: true
2 include: 3 include:
3 - os: linux 4 - os: linux
4 dist: xenial 5 dist: xenial
@@ -11,27 +12,28 @@ matrix:
11 - libxkbfile-dev 12 - libxkbfile-dev
12 - rpm 13 - rpm
13 - os: osx 14 - os: osx
15 if: branch = release
14 osx_image: xcode11 16 osx_image: xcode11
15 17
16language: node_js 18language: node_js
17# Handle git submodules yourself
18git: 19git:
19 submodules: false 20 submodules: false
20# Use sed to replace the SSH URL with the public URL, then initialize submodules 21branches:
22 only:
23 - develop
24 - release
25cache: npm
26
21before_install: 27before_install:
22 - git submodule update --init --recursive 28 - git submodule update --init --recursive
23install: 29install:
24 - echo do nothing
25before_script:
26 - travis_retry npx lerna bootstrap 30 - travis_retry npx lerna bootstrap
27 - travis_retry npm install node-sass -g 31 - travis_retry npm install node-sass -g
32before_script:
33 - npm run lint && npm run test
28script: 34script:
29 - travis_retry travis_wait 100 npm run build 35 - |
30 36 if [ $TRAVIS_BRANCH == "release" ]; then
31cache: npm 37 travis_retry travis_wait 100 npm run build
38 fi
32 39
33branches:
34 except:
35 - i18n
36 - l10n_master
37 - l10n_develop