forked from otalk/RTCPeerConnection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (38 loc) · 840 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
filter_secrets: false
language: node_js
node_js:
- 7
addons:
apt:
packages:
- pulseaudio
env:
global:
- DBUS_SESSION_BUS_ADDRESS=/dev/null
- DISPLAY=:99.0
matrix:
include:
- os: linux
env: BROWSER=chrome BVER=stable
- os: linux
env: BROWSER=chrome BVER=beta
- os: linux
env: BROWSER=firefox BVER=stable
- os: linux
env: BROWSER=firefox BVER=beta
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 ../..
if [ "${TRAVIS_OS_NAME}" == 'linux' ]; then
sh -e /etc/init.d/xvfb start
pulseaudio --start
fi
script:
- npm run lint
- npm run test-travis