-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
36 lines (28 loc) · 1.09 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
dist:
- xenial
language:
- cpp
sudo:
- false
os:
- linux
- osx
addons:
apt:
packages:
- qt5-default
before_install:
- ( cd ../ ; git clone https://github.com/piper-audio/piper )
- ( cd ../ ; hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk )
- ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto )
- if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ( cd ../capnproto ; git checkout v0.6.1 ) ; fi
- ( cd ../capnproto/c++ ; ./setup-autotools.sh && autoreconf -i )
- ( cd ../capnproto/c++ ; ./configure && make && sudo make install )
- if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; 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 ../vamp-plugin-sdk ; if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then make -f build/Makefile.osx sdkstatic plugins ; else ./configure --disable-programs && make sdkstatic plugins; fi )
install:
- sudo pip2 install jsonschema
script:
- VAMP_PATH=$(pwd)/../vamp-plugin-sdk/examples ./test.sh