forked from sugarcrm/ventana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (37 loc) · 968 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
sudo: false
language: node_js
# https://blog.travis-ci.com/2016-11-21-travis-ci-now-supports-yarn
cache: yarn
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
matrix:
include:
- node_js: 8
env: BROWSERS=travis_chrome,Firefox
os: linux
dist: trusty
addons:
apt:
packages:
- google-chrome-stable
firefox: latest
- node_js: 8
env: BROWSERS=sl_ie
addons:
sauce_connect: true
os: linux
dist: trusty
- node_js: 8
env: BROWSERS=sl_edge
addons:
sauce_connect: true
os: linux
dist: trusty
- node_js: 8
os: osx
env: BROWSERS=Safari
script:
- yarn test --browsers $BROWSERS
after_success:
- if [[ -d coverage/ ]]; then cat coverage/*/lcov.info | ./node_modules/coveralls/bin/coveralls.js ; fi