annotate .travis.yml @ 1751:5cbe4eb3d189

Nope, macOS CI build is still broken ("Homebrew must be run under Ruby 2.3"). Another random attempt at a fix
author Chris Cannam
date Tue, 10 Oct 2017 11:18:47 +0100
parents 89e8960f11cf
children adc8a48f4e4c
rev   line source
Chris@1727 1 language:
Chris@1727 2 - cpp
Chris@1727 3
Chris@1750 4 matrix:
Chris@1750 5 include:
Chris@1750 6 - os: linux
Chris@1750 7 dist: trusty
Chris@1750 8 sudo: false
Chris@1750 9 - os: osx
Chris@1750 10 osx_image: xcode9
Chris@1749 11
Chris@1727 12 addons:
Chris@1727 13 apt:
Chris@1727 14 packages:
Chris@1727 15 - 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 16
Chris@1727 17 before_install:
Chris@1751 18 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; fi
Chris@1727 19 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install polyml ; fi
Chris@1727 20 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi
Chris@1727 21 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi
Chris@1727 22 - ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto )
Chris@1727 23 - ( cd ../capnproto/c++ ; ./setup-autotools.sh && autoreconf -i )
Chris@1727 24 - ( cd ../capnproto/c++ ; ./configure && make && sudo make install )
Chris@1730 25
Chris@1730 26 before_script:
Chris@1730 27 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./vext install && qmake -r sonic-visualiser.pro ; fi
Chris@1730 28
Chris@1727 29 script:
Chris@1730 30 - make -j3
Chris@1727 31