annotate .travis.yml @ 2536:32718f05903d

Aim to ensure we have feedback request in packages we build only (not in distro builds etc)
author Chris Cannam
date Wed, 13 May 2020 14:08:38 +0100
parents 9eca93861319
children
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@2400 7 osx_image: xcode11
Chris@1750 8 - os: linux
Chris@2152 9 dist: xenial
Chris@1942 10 sudo: required
Chris@1971 11 addons:
Chris@1971 12 apt:
Chris@1971 13 packages:
Chris@2276 14 - libbz2-dev libfftw3-dev libfishsound1-dev libid3tag0-dev liblo-dev liblrdf0-dev libmad0-dev liboggz2-dev libopus-dev libopusfile-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
Chris@1727 15
Chris@1727 16 before_install:
Chris@1751 17 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; fi
Chris@2314 18 - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew unlink python ; 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@1977 23 - ( cd ../capnproto/ ; git checkout v0.6.1 )
Chris@1971 24 - ( cd ../capnproto/c++ ; autoreconf -i )
Chris@1727 25 - ( cd ../capnproto/c++ ; ./configure && make && sudo make install )
Chris@1730 26
Chris@1730 27 before_script:
Chris@1808 28 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./repoint install && qmake -r sonic-visualiser.pro ; fi
Chris@1730 29
Chris@1727 30 script:
Chris@1730 31 - make -j3
Chris@2419 32 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then sudo make install ; fi
Chris@2419 33 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then /usr/local/bin/sonic-visualiser -v && /usr/local/bin/piper-vamp-simple-server -v && /usr/local/bin/vamp-plugin-load-checker -v ; fi
Chris@1883 34 - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./deploy/linux/deploy-appimage.sh ; fi