Mercurial > hg > sonic-visualiser
annotate .travis.yml @ 1730:7aa88d988abb vext
Some build and CI fixes
author | Chris Cannam |
---|---|
date | Mon, 10 Jul 2017 11:54:33 +0100 |
parents | 1fb1556b74be |
children | 4ba96437f1c7 |
rev | line source |
---|---|
Chris@1727 | 1 dist: |
Chris@1727 | 2 - trusty |
Chris@1727 | 3 |
Chris@1727 | 4 language: |
Chris@1727 | 5 - cpp |
Chris@1727 | 6 |
Chris@1727 | 7 sudo: |
Chris@1727 | 8 - false |
Chris@1727 | 9 |
Chris@1727 | 10 os: |
Chris@1727 | 11 - linux |
Chris@1727 | 12 - osx |
Chris@1727 | 13 |
Chris@1727 | 14 addons: |
Chris@1727 | 15 apt: |
Chris@1727 | 16 packages: |
Chris@1727 | 17 - 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 |
Chris@1727 | 18 |
Chris@1727 | 19 before_install: |
Chris@1727 | 20 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install polyml ; fi |
Chris@1727 | 21 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi |
Chris@1727 | 22 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi |
Chris@1727 | 23 - ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto ) |
Chris@1727 | 24 - ( cd ../capnproto/c++ ; ./setup-autotools.sh && autoreconf -i ) |
Chris@1727 | 25 - ( cd ../capnproto/c++ ; ./configure && make && sudo make install ) |
Chris@1730 | 26 |
Chris@1730 | 27 before_script: |
Chris@1730 | 28 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./vext install && qmake -r sonic-visualiser.pro ; fi |
Chris@1730 | 29 |
Chris@1727 | 30 script: |
Chris@1730 | 31 - make -j3 |
Chris@1727 | 32 |