From: Marcel Metz Date: Wed, 5 Oct 2016 16:05:43 +0000 (+0200) Subject: Add BUILD_SYSTEM env variable to Travis-CI build matrix X-Git-Tag: v1.3.6~20 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibvorbis.git;a=commitdiff_plain;h=0b7e73abd0e8c15cdda87f7463ec2c6439e9bc51 Add BUILD_SYSTEM env variable to Travis-CI build matrix This allows to switch between different build systems when building multiple test matrix configurations. --- diff --git a/.travis.yml b/.travis.yml index 13d1f10..bf14445 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