forked from opentok/opentok-web-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 785 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
language: node_js
dist: trusty
sudo: required
node_js: 8
before_install:
- export DISPLAY=:99.0
- if [ -f /etc/init.d/xvfb ]; then sh -e /etc/init.d/xvfb start; fi
- if [ $BROWSER == 'firefox' ]; then pulseaudio --start; fi
- ./startSelenium.sh
script: run-tests
addons:
apt:
packages:
- pulseaudio
matrix:
include:
- os: linux
env: INTEGRATION_CMD='npm run lint'
- os: linux
env: BROWSER=chrome BVER=stable
- os: linux
env: BROWSER=firefox BVER=stable
- os: osx
osx_image: xcode9.2
env: BROWSER=safari BVER=stable
env:
global:
- UNIT_CMD=''
- INTEGRATION_CMD='./deploy.sh'
- ENCRYPTION_LABEL: "2224911b822a"
- COMMIT_AUTHOR_EMAIL: "[email protected]"
after_failure:
- ./uploadErrorShots.sh