From 0b7e73abd0e8c15cdda87f7463ec2c6439e9bc51 Mon Sep 17 00:00:00 2001 From: Marcel Metz Date: Wed, 5 Oct 2016 18:05:43 +0200 Subject: Add BUILD_SYSTEM env variable to Travis-CI build matrix This allows to switch between different build systems when building multiple test matrix configurations. --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 13d1f107..bf14445a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,12 +4,15 @@ compiler: - gcc - clang +env: + - BUILD_SYSTEM=AUTOTOOLS + addons: apt: packages: - libogg-dev script: - - ./autogen.sh - - ./configure - - make -j2 V=1 distcheck + - 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 -- cgit v1.2.1