aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: e9ae3d7d095d317c87051e2594c07c0a3db21738 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
matrix:
  include:
    - os: linux
      dist: xenial
      addons:
        apt:
          packages:
            - libx11-dev
            - libxext-dev
            - libxss-dev
            - libxkbfile-dev
    - os: osx
      osx_image: xcode11

language: node_js
# Handle git submodules yourself
git:
  submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
  - if [ $TRAVIS_OS_NAME == "linux" ]; then
      sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
    else
      sed -i '' 's/git@github.com:/https:\/\/github.com\//' .gitmodules # macOS
    fi
  - git submodule update --init --recursive
install:
  - echo do nothing
before_script:
  - npx lerna bootstrap
  - npm install node-sass -g
script:
  - npm run test
  - travis_wait 30 npm run build
cache: npm

branches:
  except:
    - i18n
    - l10n_master
    - l10n_develop