-
Notifications
You must be signed in to change notification settings - Fork 36
/
.travis.yml
60 lines (50 loc) · 950 Bytes
/
.travis.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
dist: trusty
sudo: false
language: c
matrix:
allow_failures:
- os: osx
include:
- os: osx
osx_image: xcode7.3
- os: linux
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
cache:
yarn: true
directories:
- node_modules
- $HOME/.electron
- $HOME/.cache
addons:
apt:
packages:
- libgnome-keyring-dev
- libsecret-1-dev
- icnsutils
- graphicsmagick
- xz-utils
- rpm
before_install:
- curl -o- -L yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
install:
- nvm install 11
- yarn
# - npm install
# - yarn add electron-builder@next --dev # force install next version to test electron-builder
script:
- npm run test:ci
deploy:
provider: script
script: npm run release
skip_cleanup: true
on:
tags: true
all_branches: true
notifications:
email: false
branches:
only:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/