Mercurial > hg > sonic-annotator
annotate .travis.yml @ 319:b7008c463cfa
Subrepo update
author | Chris Cannam |
---|---|
date | Tue, 15 May 2018 15:35:37 +0100 |
parents | 3cd337892a16 |
children | 5d383c8f39b9 |
rev | line source |
---|---|
Chris@304 | 1 dist: |
Chris@304 | 2 - trusty |
Chris@304 | 3 |
Chris@304 | 4 language: |
Chris@304 | 5 - cpp |
Chris@304 | 6 |
Chris@304 | 7 sudo: |
Chris@304 | 8 - false |
Chris@304 | 9 |
Chris@304 | 10 os: |
Chris@304 | 11 - linux |
Chris@304 | 12 - osx |
Chris@304 | 13 |
Chris@304 | 14 addons: |
Chris@304 | 15 apt: |
Chris@304 | 16 packages: |
Chris@307 | 17 - libbz2-dev libfftw3-dev libfishsound1-dev libid3tag0-dev liblo-dev liblrdf0-dev libmad0-dev liboggz2-dev libpulse-dev libsamplerate-dev libsndfile-dev libsord-dev libxml2-utils portaudio19-dev qt5-default libqt5svg5-dev raptor-utils yajl-tools mlton |
Chris@304 | 18 |
Chris@304 | 19 before_install: |
Chris@316 | 20 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; brew install polyml qt5 raptor yajl; fi |
Chris@304 | 21 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi |
Chris@308 | 22 - ( cd ../ ; hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk ) |
Chris@308 | 23 - ( cd ../ ; hg clone https://code.soundsoftware.ac.uk/hg/vamp-test-plugin ) |
Chris@312 | 24 - ( if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then mkdir -p ~/Library/Audio/Plug-Ins/Vamp ; else mkdir ~/vamp ; fi ) |
Chris@312 | 25 - ( cd ../vamp-plugin-sdk ; if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then make -f build/Makefile.osx plugins && cp examples/vamp-example-plugins.dylib ~/Library/Audio/Plug-Ins/Vamp/ ; else ./configure --disable-programs && make plugins && cp examples/vamp-example-plugins.so ~/vamp/ ; fi ) |
Chris@312 | 26 - ( cd ../vamp-test-plugin ; if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then make -f Makefile.osx && cp vamp-test-plugin.dylib ~/Library/Audio/Plug-Ins/Vamp/ ; else make -f Makefile.linux && cp vamp-test-plugin.so ~/vamp/ ; fi ) |
Chris@304 | 27 |
Chris@304 | 28 before_script: |
Chris@304 | 29 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./vext install && qmake -r sonic-annotator.pro ; fi |
Chris@304 | 30 |
Chris@304 | 31 script: |
Chris@304 | 32 - make -j3 |
Chris@304 | 33 |