Add BUILD_SYSTEM env variable to Travis-CI build matrix
[platform/upstream/libvorbis.git] / .travis.yml
index 9887eac..bf14445 100644 (file)
@@ -4,12 +4,15 @@ compiler:
   - gcc
   - clang
 
+env:
+  - BUILD_SYSTEM=AUTOTOOLS
+
 addons:
   apt:
     packages:
     - libogg-dev
 
 script:
-  - ./autogen.sh
-  - ./configure
-  - make -j2 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