To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .travis.yml
History | View | Annotate | Download (1.67 KB)
| 1 | 154:b1e6af020d10 | Chris | language:
|
|---|---|---|---|
| 2 | - cpp
|
||
| 3 | |||
| 4 | matrix:
|
||
| 5 | include:
|
||
| 6 | - os: osx
|
||
| 7 | 367:e91447a35cd1 | Chris | osx_image: xcode11 |
| 8 | 154:b1e6af020d10 | Chris | - os: linux
|
| 9 | dist: xenial |
||
| 10 | sudo: required |
||
| 11 | addons:
|
||
| 12 | apt:
|
||
| 13 | packages:
|
||
| 14 | 178:34705183ac26 | Chris | - 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
|
| 15 | 154:b1e6af020d10 | Chris | |
| 16 | before_install:
|
||
| 17 | - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; fi
|
||
| 18 | 268:a7b6840edd9a | Chris | - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew unlink python ; fi
|
| 19 | 154:b1e6af020d10 | Chris | - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install polyml ; fi
|
| 20 | - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi
|
||
| 21 | - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi
|
||
| 22 | - ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto )
|
||
| 23 | - ( cd ../capnproto/ ; git checkout v0.6.1 )
|
||
| 24 | - ( cd ../capnproto/c++ ; autoreconf -i )
|
||
| 25 | - ( cd ../capnproto/c++ ; ./configure && make && sudo make install )
|
||
| 26 | |||
| 27 | before_script:
|
||
| 28 | 269:5e15afffe66a | Chris | - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./repoint install && qmake -r sonic-lineup.pro ; fi
|
| 29 | 154:b1e6af020d10 | Chris | |
| 30 | script:
|
||
| 31 | - make -j3
|
||
| 32 | 401:9656d3e14e5d | Chris | - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then sudo make install ; fi
|
| 33 | - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then /usr/local/bin/sonic-lineup -v ; fi
|
||
| 34 | - 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
|