annotate .travis.yml @ 397:a82030ec7b1f
sonic-annotator-1.6
Update archive script for Repoint
author |
Chris Cannam |
date |
Tue, 09 Jun 2020 17:32:59 +0100 |
parents |
e8f9fcca9528 |
children |
|
rev |
line source |
Chris@304
|
1 language:
|
Chris@304
|
2 - cpp
|
Chris@304
|
3
|
Chris@304
|
4 os:
|
Chris@304
|
5 - linux
|
Chris@304
|
6 - osx
|
Chris@304
|
7
|
Chris@337
|
8 dist:
|
Chris@337
|
9 - xenial
|
Chris@337
|
10
|
Chris@337
|
11 sudo:
|
Chris@337
|
12 - required
|
Chris@337
|
13
|
Chris@337
|
14 osx_image:
|
Chris@355
|
15 - xcode11
|
Chris@337
|
16
|
Chris@304
|
17 addons:
|
Chris@304
|
18 apt:
|
Chris@304
|
19 packages:
|
Chris@353
|
20 - 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 portaudio19-dev qt5-default libqt5svg5-dev raptor-utils yajl-tools mlton
|
Chris@304
|
21
|
Chris@304
|
22 before_install:
|
Chris@316
|
23 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; brew install polyml qt5 raptor yajl; fi
|
Chris@351
|
24 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew unlink python ; fi
|
Chris@304
|
25 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi
|
Chris@308
|
26 - ( cd ../ ; hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk )
|
Chris@308
|
27 - ( cd ../ ; hg clone https://code.soundsoftware.ac.uk/hg/vamp-test-plugin )
|
Chris@312
|
28 - ( if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then mkdir -p ~/Library/Audio/Plug-Ins/Vamp ; else mkdir ~/vamp ; fi )
|
Chris@312
|
29 - ( 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
|
30 - ( 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
|
31
|
Chris@304
|
32 before_script:
|
Chris@320
|
33 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./repoint install && qmake -r sonic-annotator.pro ; fi
|
Chris@304
|
34
|
Chris@304
|
35 script:
|
Chris@304
|
36 - make -j3
|
Chris@304
|
37
|