Mercurial > hg > sonic-annotator
annotate .travis.yml @ 304:0ea0f36cc576
Add CI build files
author | Chris Cannam |
---|---|
date | Mon, 10 Jul 2017 20:51:07 +0100 |
parents | |
children | ca1ee036b8cf |
rev | line source |
---|---|
Chris@304 | 1 dist: |
Chris@304 | 2 - trusty |
Chris@304 | 3 |
Chris@304 | 4 language: |
Chris@304 | 5 - cpp |
Chris@304 | 6 |
Chris@304 | 7 sudo: |
Chris@304 | 8 - false |
Chris@304 | 9 |
Chris@304 | 10 os: |
Chris@304 | 11 - linux |
Chris@304 | 12 - osx |
Chris@304 | 13 |
Chris@304 | 14 addons: |
Chris@304 | 15 apt: |
Chris@304 | 16 packages: |
Chris@304 | 17 - 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 |
Chris@304 | 18 |
Chris@304 | 19 before_install: |
Chris@304 | 20 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install polyml ; fi |
Chris@304 | 21 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi |
Chris@304 | 22 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi |
Chris@304 | 23 |
Chris@304 | 24 before_script: |
Chris@304 | 25 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./vext install && qmake -r sonic-annotator.pro ; fi |
Chris@304 | 26 |
Chris@304 | 27 script: |
Chris@304 | 28 - make -j3 |
Chris@304 | 29 |