changeset 94:e28f67bc9124

Travis CI file
author Chris Cannam
date Tue, 15 Jan 2019 13:19:02 +0000
parents 161ed1fb016b
children 655238a55a45
files .travis.yml
diffstat 1 files changed, 31 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.travis.yml	Tue Jan 15 13:19:02 2019 +0000
@@ -0,0 +1,31 @@
+dist:
+  - trusty
+
+language:
+  - cpp
+
+sudo:
+  - false
+
+os:
+  - linux
+  - osx
+
+addons:
+  apt:
+    packages:
+      - libsndfile-dev
+      - vamp-plugin-sdk
+      
+before_install:
+  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; brew install libsndfile ; fi
+  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then ( cd ../ ; hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk ; cd vamp-plugin-sdk ; make -f build/Makefile.osx ) ; fi
+  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:$PWD/../vamp-plugin-sdk/host ; fi
+
+script:
+  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then make -f Makefile.osx ; else make -f Makefile.linux ; fi
+  - VAMP_PATH=".:Example VamPy plugins" vamp-simple-host -l
+
+
+
+