forked from twilio/rtc-diagnostics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (39 loc) · 861 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
# NOTE: https://github.com/travis-ci/travis-ci/issues/4704
filter_secrets: false
language: node_js
node_js:
- 12.13.1
# 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
services:
- xvfb
matrix:
include:
- os: linux
env: BVER=stable
- os: linux
env: BVER=beta
- os: linux
env: BVER=unstable
allow_failures:
- env: BVER=beta
- env: BVER=unstable
before_script:
- |
set -e
cd node_modules/travis-multirunner
BROWSER=chrome ./setup.sh
BROWSER=firefox ./setup.sh
export CHROME_BIN=$(pwd)/browsers/bin/chrome-$BVER
export FIREFOX_BIN=$(pwd)/browsers/bin/firefox-$BVER
cd ../..
pulseaudio --start
script: npm test