view .travis.yml @ 102:3b6b3f0cffcb

On Windows use non-DLL runtime, and ensure consistency with Vamp SDK files by including them in project directly
author Chris Cannam
date Fri, 01 Feb 2019 18:12:43 +0000
parents 4e5de05b6e71
children
line wrap: on
line source
dist:
  - trusty

language:
  - cpp

sudo:
  - false

os:
  - linux
  - osx

addons:
  apt:
    packages:
      - libsndfile-dev
      - vamp-plugin-sdk
      - vamp-examples
      - python-numpy
      
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=/usr/bin:$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