forked from versatica/mediasoup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
82 lines (75 loc) · 1.66 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Just apply Travis-CI for these branches
branches:
only:
- master
- experimental
# Use Ubuntu 14.04 Trusty
dist: trusty
language: node_js
# DOC: http://genbattle.bitbucket.org/blog/2016/01/17/c++-travis-ci/
matrix:
include:
- node_js: 4
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env: COMPILER=g++-4.8
- node_js: 6
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: COMPILER=g++-4.9
- node_js: 7
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env: COMPILER=g++-5
# TODO: This currently fails:
# https://github.com/travis-ci/travis-ci/issues/6120#issuecomment-224072540
# - node_js: 6
# compiler: clang
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# - llvm-toolchain-precise-3.6
# packages:
# - clang-3.6
# env: COMPILER=clang++-3.6
# - node_js: 6
# compiler: clang
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# - llvm-toolchain-precise-3.7
# packages:
# - clang-3.7
# env: COMPILER=clang++-3.7
install:
- npm install
before_script:
- npm install -g gulp-cli
script:
- gulp lint:node
- gulp tidy
- gulp test
notifications:
email:
recipients:
on_success: change
on_failure: always