view .travis.yml @ 239:335a5909d4a8

Library
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 13 Jun 2017 12:17:13 +0100
parents 903f217e0ca7
children 86d4310c2a62
line wrap: on
line source
dist:
  - trusty

language:
  - cpp

sudo:
  - false

os:
  - linux
  - osx

addons:
  apt:
    packages:
      - qt5-default libsord-dev
      
before_install:
  - ( cd ../ ; git clone -b output-type-uri https://github.com/piper-audio/piper )
  - ( cd ../ ; hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk )
  - ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto )
  - ( cd ../capnproto/c++ ; ./setup-autotools.sh && autoreconf -i )
  - ( cd ../capnproto/c++ ; ./configure && make && sudo make install )
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 sord ; fi
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi
  - ( cd ../vamp-plugin-sdk ; if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then make -f build/Makefile.osx sdkstatic plugins ; else ./configure --disable-programs && make sdkstatic plugins; fi )

install:
  - sudo pip install jsonschema

script:
  - VAMP_PATH=$(pwd)/../vamp-plugin-sdk/examples ./test.sh