annotate .travis.yml @ 1972:be5496ec5f97 c++14

Add missed ppa; try setting CC/CXX directly
author Chris Cannam
date Fri, 31 Aug 2018 11:55:02 +0100
parents 7496836f8f27
children b7af36ebafe0
rev   line source
Chris@1727 1 language:
Chris@1727 2 - cpp
Chris@1727 3
Chris@1750 4 matrix:
Chris@1750 5 include:
Chris@1971 6 - os: osx
Chris@1971 7 osx_image: xcode9
Chris@1750 8 - os: linux
Chris@1750 9 dist: trusty
Chris@1942 10 sudo: required
Chris@1971 11 addons:
Chris@1971 12 apt:
Chris@1971 13 sources:
Chris@1971 14 - ubuntu-toolchain-r-test
Chris@1971 15 packages:
Chris@1971 16 - 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 autoconf libtool git mlton g++-4.9
Chris@1971 17 env:
Chris@1972 18 - CC=gcc-4.9
Chris@1972 19 - CXX=g++-4.9
Chris@1727 20
Chris@1727 21 before_install:
Chris@1751 22 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; fi
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@1971 27 - ( cd ../capnproto/c++ ; autoreconf -i )
Chris@1727 28 - ( cd ../capnproto/c++ ; ./configure && make && sudo make install )
Chris@1730 29
Chris@1730 30 before_script:
Chris@1808 31 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./repoint install && qmake -r sonic-visualiser.pro ; fi
Chris@1730 32
Chris@1727 33 script:
Chris@1730 34 - make -j3
Chris@1883 35 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./deploy/linux/deploy-appimage.sh ; fi