forked from hydrogen-music/hydrogen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (42 loc) · 1.21 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: cpp
env:
global:
- MAKEFLAGS="-j 2"
matrix:
include:
- os: linux
dist: trusty
sudo: required
- os: osx
addons:
apt:
packages:
- qt5-default
- libqt5xmlpatterns5-dev
- libarchive-dev
- libsndfile1-dev
- libasound2-dev
- libjack-jackd2-dev
- liblo-dev
- libpulse-dev
- libportmidi-dev
- portaudio19-dev
- libcppunit-dev
- liblrdf-dev
- liblash-compat-dev
- librubberband-dev
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install ladspa-sdk -y; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew install qt5;
export CMAKE_PREFIX_PATH="$(brew --prefix qt5)";
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew install libarchive;
export PKG_CONFIG_PATH="$(brew --prefix libarchive)/lib/pkgconfig";
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libsndfile jack pulseaudio cppunit; fi
script:
- mkdir build && cd build && cmake -DWANT_LASH=1 -DWANT_LRDF=1 -DWANT_RUBBERBAND=1 .. && make