cannam@150
|
1 dist:
|
cannam@150
|
2 - trusty
|
cannam@150
|
3
|
cannam@150
|
4 language:
|
cannam@150
|
5 - cpp
|
cannam@150
|
6
|
cannam@150
|
7 sudo:
|
cannam@150
|
8 - false
|
cannam@150
|
9
|
cannam@150
|
10 os:
|
cannam@150
|
11 - linux
|
cannam@150
|
12 - osx
|
cannam@150
|
13
|
cannam@150
|
14 addons:
|
cannam@150
|
15 apt:
|
cannam@150
|
16 packages:
|
cannam@252
|
17 - qt5-default
|
cannam@150
|
18
|
cannam@150
|
19 before_install:
|
cannam@246
|
20 - ( cd ../ ; git clone https://github.com/piper-audio/piper )
|
cannam@150
|
21 - ( cd ../ ; hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk )
|
cannam@150
|
22 - ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto )
|
cannam@261
|
23 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ( cd ../capnproto ; git checkout v0.6.1 ) ; fi
|
cannam@150
|
24 - ( cd ../capnproto/c++ ; ./setup-autotools.sh && autoreconf -i )
|
cannam@150
|
25 - ( cd ../capnproto/c++ ; ./configure && make && sudo make install )
|
cannam@255
|
26 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; fi
|
cannam@252
|
27 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi
|
cannam@160
|
28 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi
|
cannam@157
|
29 - ( cd ../vamp-plugin-sdk ; if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then make -f build/Makefile.osx sdkstatic plugins ; else ./configure --disable-programs && make sdkstatic plugins; fi )
|
cannam@150
|
30
|
cannam@150
|
31 install:
|
cannam@257
|
32 - sudo pip2 install jsonschema
|
cannam@150
|
33
|
cannam@150
|
34 script:
|
cannam@155
|
35 - VAMP_PATH=$(pwd)/../vamp-plugin-sdk/examples ./test.sh
|
cannam@150
|
36
|