forked from wireapp/wire-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
68 lines (57 loc) · 2.77 KB
/
.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
61
62
63
64
65
66
67
68
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
# https://docs.travis-ci.com/user/encryption-keys/
env:
global:
# WIRE_WEBAPP_BOT_EMAIL
- secure: "lDNwgwVMAU5YJJ9beATPfRqRHhHpU647XFEObTjrR2mpKIfIvAd2jY9imK2xHfVKdqJdEGSFy/FkWTuzaeawyE3F9iPEt+twAF+xos6EA8G3M2Aj2HVO4EjSFwHkKC7XYcOikCzT1j+MpXbYJvZY4K8r2TmQ97yeYrvwjgavFkQrH3VffiPV+v30Uh94uL6kPv+HcdzjQMM3II8Qd7C016c3xMHYHNhB+bEmMaCOd2P6zFGgDBPYh72lU61wjwwWrVl54OOAXUxqqkodmEVSCp7xWnx/8xbu3cYjDxHyG5MFBEA2nJapfqiHFrA/XL5yaLc5EV3DtGTQmeNDkpgRscheerqEyWnPI41R7qYJMke1rom1d0CoSlR0AGXwe1t40Be3GO2OW8/Buiuvx1VuNqQM/swR+oe0VPf9QI5XzbtIyQdfKKU4ZUOUKX5O/TnDGAlHgavZm+va3FEBbFfG2ScGLd36ZEBpll1CUSulIjsmWg3GF5NOZiUThHdoD2BfFaOGMHjTkKxkK1IpxlARxqJmZUeMdMbm9OJLnkJuB9cta34BDhKgAuDhXLQsEjs55y5usU7iCrIubl1kjFTvvvBC1ngEBnPJzFciZQ4Jww49N5JacpzDqDtpmUxdCqk3vjl17b/1gF66P1wRqTQgnuJw9RVPzZ8y3727jEuObxw="
# WIRE_WEBAPP_BOT_PASSWORD
- secure: "uWt2xiLp6PQgiilYAvaAGj5sjQxhZQTYNDN2YbOCMEj/+Lp2KHnhtZW+QkCK+CtBwu/cIuHJtLMOXoK4gekdgapNmG1jTTfJmb/xw8zaV/AQuOQLOVpZ2yZgjbtZN0YeweWqKU78v32/qGUx0aFs9CLS6Bo6Y3COMlKB8PfUfH+2CmxLzOfwAVHpYC+VEH+WM6ODBZlnaTIUmOH2PCQSp2kEgKanmwRZwoGjOvjv9xENSxrFn0M9/vsp8qblLky7AyQW/IERoQi8U8PIDnf/0SbpBcGEynVBMo2XDDUoANGTEBnwbc5j6KmrnIZsw5VT6xVNJpVRiG6kLVbQmDS05zPPaPJqykYIlhC6pnXYSZ6aGs1hMLiJ/hvhZYLhNa83fjgHigsYouKza2PRcoyk+GXlboCPQW0gduWUtd0kYpuRtAh9VT9EoLiLh1U86wZHZTEEFwXHLhLc5IPeMvS1g4QYjc5ODlmudgWslgWum1Lc4nLJr+yTZXW9A9t3kWC8V+dyMCM76xiedaiIGPKZBRKq2kp43JgGr4aLjiuQMtpWQGwAxaKushmfMQX4GfBGq7AwI/MDyY4cqyzwDiJ6JdjtdDvuPoXpjLlsEFYvu1j2l7csN1bC474Ym9i+n0g1peMohyNqkszVVSixivG2Lgz3ZwE0QP5Duu37sKIb1TE="
# http://docs.travis-ci.com/user/languages/javascript-with-nodejs/
language: node_js
node_js:
- "10"
# https://docs.travis-ci.com/user/languages/c/#build-matrix
matrix:
include:
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
before_script:
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start
env:
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
- os: osx
osx_image: xcode8
env:
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
git:
submodules: false
cache:
yarn: true
directories:
- $HOME/.npm
- node_modules
- electron/node_modules
before_install:
- eval "${MATRIX_EVAL}"
install:
- yarn
# http://docs.travis-ci.com/user/pull-requests/
script:
- yarn test
notifications:
email: false
branches:
only:
- master
after_success:
- |
if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ] && [ "${TRAVIS_EVENT_TYPE}" == "push" ]; then
yarn global add @wireapp/changelog-bot@2.1.0
wire-changelog-bot -e "${WIRE_WEBAPP_BOT_EMAIL}" -p "${WIRE_WEBAPP_BOT_PASSWORD}" -c "46b53eba-65da-4bdc-b521-2467b96e8841"
fi