diff options
author | Marcel Metz <mmetz@adrian-broher.net> | 2016-10-05 18:05:43 +0200 |
---|---|---|
committer | Ralph Giles <giles@thaumas.net> | 2016-10-05 13:20:34 -0700 |
commit | 0b7e73abd0e8c15cdda87f7463ec2c6439e9bc51 (patch) | |
tree | d820bf0f04ddbc79eb31feb32a93925a085d01e6 | |
parent | 21a1a71438798625bfe9f02884a25ebdeedb884c (diff) | |
download | libvorbis-git-0b7e73abd0e8c15cdda87f7463ec2c6439e9bc51.tar.gz |
Add BUILD_SYSTEM env variable to Travis-CI build matrix
This allows to switch between different build systems when building
multiple test matrix configurations.
-rw-r--r-- | .travis.yml | 9 |
1 files 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 |