Mercurial > hg > sonic-visualiser
diff .travis.yml @ 1727:1fb1556b74be vext
Add some build files
author | Chris Cannam |
---|---|
date | Fri, 07 Jul 2017 21:36:07 +0100 |
parents | |
children | 7aa88d988abb |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.travis.yml Fri Jul 07 21:36:07 2017 +0100 @@ -0,0 +1,30 @@ +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 libpulse-dev libsamplerate-dev libsndfile-dev libsord-dev libxml2-utils portaudio19-dev qt5-default libqt5svg5-dev raptor-utils librubberband-dev 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 + - ( 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 ) + +script: + - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./vext install && qmake -r ; fi + - make +