forked from RocketChat/Rocket.Chat.Electron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (48 loc) · 918 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
language: node_js
node_js: 10
os: linux
cache:
yarn: true
directories:
- node_modules
jobs:
include:
- os: linux
dist: bionic
addons:
apt:
packages:
- rpm
deploy:
- provider: snap
cleanup: false
skip_cleanup: true
snap: dist/*.snap
channel: beta
on:
branch: develop
- provider: snap
cleanup: false
skip_cleanup: true
snap: dist/*.snap
channel: stable
on:
branch: master
- os: osx
osx_image: xcode11.2
branches:
only:
- master
- develop
- /^hotfix\/.*$/
- /^release\/.*$/
notifications:
email:
on_success: never
on_failure: change
install:
- yarn --check-files
- yarn test
script:
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then export CSC_IDENTITY_AUTO_DISCOVERY=false; fi
- NODE_ENV=production yarn release