language: c

compiler:
  - gcc
  - clang

addons:
  apt:
    packages:
    - libogg-dev

script:
  - ./autogen.sh
  - ./configure
  - make -j2 V=1 distcheck

language: c

compiler:
  - gcc
  - clang

env:
  - BUILD_SYSTEM=AUTOTOOLS

addons:
  apt:
    packages:
    - libogg-dev

script:
  - if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then ./autogen.sh ; fi
  - if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then ./configure ; fi
  - if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then make -j2 V=1 distcheck ; fi

Add BUILD_SYSTEM env variable to Travis-CI build matrix
Add BUILD_SYSTEM env variable to Travis-CI build matrix

This allows to switch between different build systems when building
multiple test matrix configurations.
