Files: 1d1f4a4fb9991abfb5311c299f39db9d7d00a859 / .travis.yml
920 bytesRaw
1 | matrix: |
2 | include: |
3 | - os: osx |
4 | osx_image: xcode9.4 |
5 | language: node_js |
6 | node_js: lts/* |
7 | env: |
8 | - ELECTRON_CACHE=$HOME/.cache/electron |
9 | - ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder |
10 | |
11 | - os: linux |
12 | dist: bionic |
13 | language: node_js |
14 | node_js: lts/* |
15 | |
16 | - os: windows |
17 | language: node_js |
18 | node_js: lts/* |
19 | filter_secrets: false |
20 | |
21 | cache: |
22 | directories: |
23 | - $HOME/.cache/electron |
24 | - $HOME/.cache/electron-builder |
25 | |
26 | before_install: |
27 | - | |
28 | if [ "$TRAVIS_OS_NAME" == "linux" ]; then |
29 | sudo apt-get install \ |
30 | automake \ |
31 | libgconf-2-4 \ |
32 | libtool \ |
33 | libxext-dev \ |
34 | libxkbfile-dev \ |
35 | libxtst-dev |
36 | fi |
37 | - npm cache verify |
38 | |
39 | script: npm test && npm run dist |
40 | |
41 | branches: |
42 | only: |
43 | - master |
44 | - "/^v\\d+\\.\\d+\\.\\d+$/" |
45 | - "/^v\\d+\\.\\d+\\.\\d+-beta\\.\\d+$/" |
46 | - "/^v\\d+\\.\\d+\\.\\d+-alpha\\.\\d+$/" |
47 |
Built with git-ssb-web