forked from RocketChat/Rocket.Chat.Electron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (46 loc) · 879 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
language: node_js
node_js: 10
cache:
yarn: true
directories:
- node_modules
matrix:
include:
- os: linux
dist: bionic
sudo: true
addons:
apt:
packages:
- rpm
deploy:
- provider: snap
snap: dist/*.snap
channel: beta
skip_cleanup: true
on:
branch: develop
- provider: snap
snap: dist/*.snap
channel: stable
skip_cleanup: true
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