forked from lynckia/licode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (46 loc) · 1.02 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
language: node_js
os:
# - osx TODO Enable again once we add openssl, libnice, libsrtp and libav to cmake
- linux
sudo: required
dist: trusty
cache:
directories:
- node_modules
- cache
- build/libdeps
services:
- mongodb
- rabbitmq
addons:
apt:
packages:
- git
- make
- gcc-5
- g++-5
- libssl-dev
- cmake
- libglib2.0-dev
- pkg-config
- libboost-regex-dev
- libboost-thread-dev
- libboost-system-dev
- liblog4cxx10-dev
- openjdk-6-jre
- curl
- libboost-test-dev
- yasm
- libvpx.
- libx264.
sources:
- ubuntu-toolchain-r-test
before_install:
# OSX
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then ./scripts/installMacDeps.sh --unattended --disable-services --use-cache; fi
# LINUX
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then ./scripts/travisInstallDeps.sh && export CC="/usr/bin/gcc-5" && export CXX="/usr/bin/g++-5" ; fi
install:
- ./scripts/travisInstall.sh
script:
- ./scripts/travisScript.sh