Mercurial > hg > sonic-visualiser
annotate .travis.yml @ 1749:4ba96437f1c7
Current Travis image is now failing to run Homebrew - let's try a newer one
author | Chris Cannam |
---|---|
date | Mon, 09 Oct 2017 13:05:21 +0100 |
parents | 7aa88d988abb |
children | 89e8960f11cf |
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@1749 | 14 osx_image: |
Chris@1749 | 15 - xcode9 |
Chris@1749 | 16 |
Chris@1727 | 17 addons: |
Chris@1727 | 18 apt: |
Chris@1727 | 19 packages: |
Chris@1727 | 20 - 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 | 21 |
Chris@1727 | 22 before_install: |
Chris@1727 | 23 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install polyml ; fi |
Chris@1727 | 24 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi |
Chris@1727 | 25 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi |
Chris@1727 | 26 - ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto ) |
Chris@1727 | 27 - ( cd ../capnproto/c++ ; ./setup-autotools.sh && autoreconf -i ) |
Chris@1727 | 28 - ( cd ../capnproto/c++ ; ./configure && make && sudo make install ) |
Chris@1730 | 29 |
Chris@1730 | 30 before_script: |
Chris@1730 | 31 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./vext install && qmake -r sonic-visualiser.pro ; fi |
Chris@1730 | 32 |
Chris@1727 | 33 script: |
Chris@1730 | 34 - make -j3 |
Chris@1727 | 35 |