forked from sonic-visualiser/sonic-lineup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (30 loc) · 1.67 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
language:
- cpp
matrix:
include:
- os: osx
osx_image: xcode11
- os: linux
dist: xenial
sudo: required
addons:
apt:
packages:
- libbz2-dev libfftw3-dev libfishsound1-dev libid3tag0-dev liblo-dev liblrdf0-dev libmad0-dev liboggz2-dev libopus-dev libopusfile-dev libpulse-dev libsamplerate-dev libsndfile-dev libsord-dev libxml2-utils libboost-all-dev portaudio19-dev qt5-default libqt5svg5-dev raptor-utils librubberband-dev autoconf libtool git mlton
before_install:
- if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew unlink python ; fi
- if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install polyml ; fi
- if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi
- if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi
- ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto )
- ( cd ../capnproto/ ; git checkout v0.6.1 )
- ( cd ../capnproto/c++ ; autoreconf -i )
- ( cd ../capnproto/c++ ; ./configure && make && sudo make install )
before_script:
- if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./repoint install && qmake -r sonic-lineup.pro ; fi
script:
- make -j3
- if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then sudo make install ; fi
- if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then /usr/local/bin/sonic-lineup -v ; fi
- if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ( for p in azi match-vamp-plugin nnls-chroma pyin qm-vamp-plugins tuning-difference; do echo /usr/local/lib/sonic-lineup/$p.so ; done ) | /usr/local/lib/sonic-lineup/vamp-plugin-load-checker vampGetPluginDescriptor ; fi