To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .travis.yml @ 401:9656d3e14e5d

History | View | Annotate | Download (1.67 KB)

1
language:
2
  - cpp
3

    
4
matrix:
5
  include:
6
    - os: osx
7
      osx_image: xcode11
8
    - os: linux
9
      dist: xenial
10
      sudo: required
11
      addons:
12
        apt:
13
          packages:
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 libboost-all-dev portaudio19-dev qt5-default libqt5svg5-dev raptor-utils librubberband-dev autoconf libtool git mlton
15

    
16
before_install:
17
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; fi
18
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew unlink python ; fi
19
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install polyml ; fi
20
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew install qt5 ; fi
21
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then export PATH=$PATH:/usr/local/opt/qt5/bin ; fi
22
  - ( cd ../ ; git clone https://github.com/sandstorm-io/capnproto )
23
  - ( cd ../capnproto/ ; git checkout v0.6.1 )
24
  - ( cd ../capnproto/c++ ; autoreconf -i )
25
  - ( cd ../capnproto/c++ ; ./configure && make && sudo make install )
26

    
27
before_script:
28
  - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ./configure ; else ./repoint install && qmake -r sonic-lineup.pro ; fi
29

    
30
script:
31
  - make -j3
32
  - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then sudo make install ; fi
33
  - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then /usr/local/bin/sonic-lineup -v ; fi
34
  - if [[ "$TRAVIS_OS_NAME" = "linux" ]] ; then ( for p in azi match-vamp-plugin nnls-chroma pyin qm-vamp-plugins tuning-difference; do echo /usr/local/lib/sonic-lineup/$p.so ; done ) | /usr/local/lib/sonic-lineup/vamp-plugin-load-checker vampGetPluginDescriptor ; fi
35