diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml index 78c1e3693..7fca11401 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -1,28 +1,31 @@ | |||
1 | matrix: | 1 | matrix: |
2 | include: | 2 | include: |
3 | - os: linux | 3 | - os: linux |
4 | dist: trusty | 4 | dist: xenial |
5 | sudo: required | 5 | addons: |
6 | apt: | ||
7 | packages: | ||
8 | - libx11-dev | ||
9 | - libxext-dev | ||
10 | - libxss-dev | ||
11 | - libxkbfile-dev | ||
6 | - os: osx | 12 | - os: osx |
7 | osx_image: xcode8.3 | 13 | osx_image: xcode8.3 |
8 | 14 | ||
9 | language: node_js | 15 | language: node_js |
10 | 16 | ||
11 | before_script: | 17 | before_script: |
12 | - yarn add global node-sass | 18 | - npm install node-sass -g |
13 | - yarn install | 19 | - npm ci |
14 | 20 | ||
15 | script: | 21 | script: |
16 | - yarn lint | 22 | - npm run lint |
17 | - travis_wait yarn build | 23 | - travis_wait npm run build |
18 | 24 | ||
19 | node_js: | 25 | node_js: |
20 | - '8' | 26 | - '8' |
21 | 27 | ||
22 | before_install: | 28 | cache: npm |
23 | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt install libx11-dev libxext-dev libxss-dev libxkbfile-dev; fi | ||
24 | |||
25 | cache: yarn | ||
26 | 29 | ||
27 | notifications: | 30 | notifications: |
28 | email: false | 31 | email: false |