forked from Haivision/srt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (28 loc) · 843 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
language: cpp
dist: trusty
addons:
apt:
packages:
- tclsh
- pkg-config
- cmake
- libssl-dev
- build-essential
matrix:
include:
- env: BUILD_TYPE=Debug
- env: BUILD_TYPE=Release
- os: osx
osx_image: xcode7.3
env: BUILD_TYPE=Debug
before_install: brew update
install: brew install openssl gnutls nettle
- os: osx
osx_image: xcode7.3
before_install: brew update
install: brew install openssl gnutls nettle
env: BUILD_TYPE=Release
script:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then cmake . -DCMAKE_BUILD_TYPE=$BUILD_TYPE; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then cmake . -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_PREFIX_PATH=/usr/local/opt/openssl; fi
- make