forked from RocketChat/Rocket.Chat.Electron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (52 loc) · 994 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
language: node_js
node_js: 10
cache:
yarn: true
directories:
- node_modules
matrix:
include:
- os: linux
dist: trusty
sudo: true
addons:
apt:
packages:
- rpm
- g++-multilib
- libxss-dev:i386
- snapd
before_install:
- sudo snap install snapcraft --classic
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: xcode8.3
branches:
only:
- master
- develop
- /^hotfix\/.*$/
- /^release\/.*$/
notifications:
email:
on_success: never
on_failure: change
install:
- yarn
- yarn test
- yarn e2e
script:
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then export CSC_IDENTITY_AUTO_DISCOVERY=false; fi
- yarn release