forked from twilio/twilio-video.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
106 lines (85 loc) · 3.37 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# NOTE(mroberts): https://github.com/travis-ci/travis-ci/issues/4704
filter_secrets: false
language: node_js
node_js:
- 10
# https://github.com/travis-ci/travis-ci/issues/8836#issuecomment-356362524
sudo: required
addons:
apt:
packages:
- pulseaudio
env:
global:
- DBUS_SESSION_BUS_ADDRESS=/dev/null
- DISPLAY=:99.0
matrix:
include:
- os: linux
env: BROWSER=chrome BVER=stable TOPOLOGY=peer-to-peer
- os: linux
env: BROWSER=chrome BVER=stable TOPOLOGY=group
- os: linux
env: BROWSER=chrome BVER=beta TOPOLOGY=peer-to-peer
- os: linux
env: BROWSER=chrome BVER=beta TOPOLOGY=group
- os: linux
env: BROWSER=chrome BVER=unstable TOPOLOGY=peer-to-peer
- os: linux
env: BROWSER=chrome BVER=unstable TOPOLOGY=group
- os: linux
env: BROWSER=firefox BVER=stable TOPOLOGY=peer-to-peer
- os: linux
env: BROWSER=firefox BVER=stable TOPOLOGY=group
- os: linux
env: BROWSER=firefox BVER=beta TOPOLOGY=peer-to-peer
- os: linux
env: BROWSER=firefox BVER=beta TOPOLOGY=group
- os: linux
env: BROWSER=firefox BVER=unstable TOPOLOGY=peer-to-peer
- os: linux
env: BROWSER=firefox BVER=unstable TOPOLOGY=group
# - os: osx
# sudo: required
# osx_image: xcode8.3
# env: BROWSER=safari BVER=unstable TOPOLOGY=peer-to-peer
# - os: osx
# sudo: required
# osx_image: xcode8.3
# env: BROWSER=safari BVER=unstable TOPOLOGY=group
allow_failures:
- env: BROWSER=chrome BVER=unstable TOPOLOGY=peer-to-peer
- env: BROWSER=chrome BVER=unstable TOPOLOGY=group
- env: BROWSER=firefox BVER=stable TOPOLOGY=peer-to-peer
- env: BROWSER=firefox BVER=stable TOPOLOGY=group
- env: BROWSER=firefox BVER=beta TOPOLOGY=peer-to-peer
- env: BROWSER=firefox BVER=beta TOPOLOGY=group
- env: BROWSER=firefox BVER=unstable TOPOLOGY=peer-to-peer
- env: BROWSER=firefox BVER=unstable TOPOLOGY=group
- env: BROWSER=safari BVER=unstable TOPOLOGY=peer-to-peer
- env: BROWSER=safari BVER=unstable TOPOLOGY=group
before_script:
- |
set -e
cd node_modules/travis-multirunner
if [ "${TRAVIS_OS_NAME}" == 'linux' ]; then
BROWSER=chrome ./setup.sh
BROWSER=firefox ./setup.sh
export CHROME_BIN=$(pwd)/browsers/bin/chrome-$BVER
export FIREFOX_BIN=$(pwd)/browsers/bin/firefox-$BVER
else
BROWSER=safari ./setup.sh
fi
cd ../..
if [ "${TRAVIS_OS_NAME}" == 'linux' ]; then
sh -e /etc/init.d/xvfb start
pulseaudio --start
fi
if [ "${TOPOLOGY}" != 'peer-to-peer' ]; then
export ENABLE_REST_API_TESTS=1
fi
script: npm run build:travis
notifications:
slack:
on_pull_requests: false
secure: jxmuMo2n/OCaUg6DMZ/fahcxoCmkyOt4eD5pWgIqinxL0INyByZhw3EyAItueuXo4+7oh2KZj78ryf2bChSMsGGXXF25Vdy154bGsFXS7xPH/ars7yTo2Cjry8j3ki0ve7aqH3GjMlBVuJRA3ps2w/bJjw9oq4JDiibDRsDPawcS3Xda0tHqc022lJer9jHaF+zBrjobo2xAZ8dFhMmx50wsY5tALq5xoiiAAfmARm8ZIZu6hZpwdbpC6pM9SBd1RNMxnzQrlFPqA25FYPZSaD4/5wjKDEHTO+dfOEW79sgZUuohE/AC+zKd3wiYxxDaxrkPkzijmYs39LyDqm5Vr6eS9OSrZptgGni6G/2J/dBW52MLlxCDB+SqpbaPuLVKsvPdVAwydMTYo02fJpxa3purUdNM9GFPZCZC4KGvht2cSvM1txUNFkpkAp8RCxyUGpVw58S4gnAp2sYmRR22i42nZJunR7myXiMV+KZcaS7BJ2Mf6Wo1YwSnHSP4xwuaBPBY0L86w/gyd9tABpEIamOwKkFiLmOKr1l8aCcuGrEHnBB2L5EpiNfxl93DjrApzwR3FqCeSzfwHgaZ6EIGtRqPPXUJgM4DtYt9udGO4c9fLr6QbDgyS4swn3uUiUmeI3i9UUg92jvv7OCYoe80DfsF5RVjZxXcQM+WMMsJ7os=