forked from webrtcHacks/adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (44 loc) · 1.17 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
dist: trusty
language: node_js
node_js:
- 8
addons:
apt:
packages:
- pulseaudio
env:
global:
- DISPLAY=:99.0
matrix:
- BROWSER=chrome BVER=stable
- BROWSER=chrome BVER=stable CHROMEEXPERIMENT=false
- BROWSER=chrome BVER=beta
- BROWSER=chrome BVER=beta CHROMEEXPERIMENT=false
- BROWSER=chrome BVER=unstable
- BROWSER=firefox BVER=stable
- BROWSER=firefox BVER=beta
- BROWSER=firefox BVER=nightly
- BROWSER=firefox BVER=esr
- BROWSER=Electron
matrix:
fast_finish: true
allow_failures:
- env: BROWSER=chrome BVER=unstable
- env: BROWSER=firefox BVER=nightly
before_script:
- export CHROME_BIN=browsers/bin/chrome-${BVER}
- export FIREFOX_BIN=browsers/bin/firefox-${BVER}
- sh -e /etc/init.d/xvfb start
- pulseaudio --start
- if [ "$BROWSER" = "Electron" ]; then npm i karma-electron electron karma-stability-reporter; fi
script:
- node_modules/.bin/grunt
- npm test
after_failure:
- for file in *.log; do echo $file; echo "======================"; cat $file; done || true
notifications:
email:
recipients:
on_success: change
on_failure: always