view .travis.yml @ 304:0ea0f36cc576

Add CI build files
author Chris Cannam
date Mon, 10 Jul 2017 20:51:07 +0100
parents
children ca1ee036b8cf
line wrap: on
line source
dist:
  - trusty

language:
  - cpp

sudo:
  - false

os:
  - linux
  - osx

addons:
  apt:
    packages:
     - libbz2-dev libfftw3-dev libfishsound1-dev libid3tag0-dev liblo-dev liblrdf0-dev libmad0-dev liboggz2-dev libsamplerate-dev libsndfile-dev libsord-dev libxml2-utils qt5-default libqt5svg5-dev raptor-utils mlton

before_install:
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install polyml ; fi
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi

before_script:
  - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./vext install && qmake -r sonic-annotator.pro ; fi

script:
  - make -j3