view .travis.yml @ 95:655238a55a45

Add some missing packages
author Chris Cannam
date Tue, 15 Jan 2019 13:37:45 +0000
parents e28f67bc9124
children 4e5de05b6e71
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=$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