shithub: libsamplerate

ref: eb077a3a3fad1905321e5a0ad1d76c601fba103b
dir: /.travis.yml/

View raw version
language: c

sudo: required
dist: trusty

before_install:
  - sudo add-apt-repository ppa:ondrej/autotools -y # automake 1.15
  - sudo add-apt-repository ppa:cz.nic-labs/knot-dns -y # pkg-config 0.29.2
  - sudo apt-get update
  - sudo apt-get install -y autoconf automake-1.15 pkg-config m4 libsndfile-dev libfftw3-dev libasound2-dev

env:
  - AUTOGEN=true CMAKE_SHARED=OFF
  - AUTOGEN=false CMAKE_SHARED=ON

script:
  - if $AUTOGEN; then ./autogen.sh && ./configure --enable-sndfile --enable-alsa && make distcheck; fi
  - mkdir build
  - cd build
  - cmake -DBUILD_SHARED_LIBS=$CMAKE_SHARED ..
  - cat config.h
  - make
  - make test