forked from getsentry/sentry-electron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (43 loc) · 839 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
branches:
only:
- master
- /^release\/.+$/
language: node_js
node_js: '8'
cache: yarn
git:
depth: 1
addons:
apt:
packages:
- xvfb
matrix:
include:
- env: NAME="lint"
script:
- yarn lint
- env: NAME="test"
script:
- yarn test
- yarn e2e
- env: NAME="test"
os: osx
script:
- yarn test
- yarn e2e
- env: NAME="package"
script:
- yarn build
- yarn pack
after_success:
- npm install -g @zeus-ci/cli
- zeus upload -t "application/tar+npm" *.tgz
notifications:
webhooks:
urls:
- https://zeus.ci/hooks/e53cc910-2919-11e8-8bbd-0a580a28060b/public/provider/travis/webhook
on_success: always
on_failure: always
on_start: always
on_cancel: always
on_error: always