changeset 224:25561b1cc924

First cut at Travis build
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 20 May 2019 16:30:40 +0100
parents b574a0a1dfca
children 11ea1603af99
files .travis.yml
diffstat 1 files changed, 32 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.travis.yml	Mon May 20 16:30:40 2019 +0100
@@ -0,0 +1,32 @@
+dist:
+  - xenial
+
+language:
+  - cpp
+
+sudo:
+  - false
+
+os:
+  - linux
+
+addons:
+  apt:
+    packages:
+      - wget
+      - libsndfile-dev
+      - libboost-all-dev
+      - mlton
+      
+before_install:
+  - ( cd ../ ; hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk )
+  - ( cd ../ ; hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-tester )
+  - ( cd ../vamp-plugin-sdk ; ./configure && make && sudo make install )
+  - ( cd ../vamp-plugin-tester ; ./repoint install && make )
+  - wget https://code.soundsoftware.ac.uk/attachments/download/2250/sonic-annotator_1.5_amd64.deb
+  - sudo apt install -y ./sonic-annotator_1.5_amd64.deb
+  - ./repoint install
+
+script:
+  - make -f build/linux/Makefile.linux64
+  - VAMP_PATH=. ../vamp-plugin-tester/vamp-plugin-tester -a