summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Metz <mmetz@adrian-broher.net>2016-10-05 18:07:26 +0200
committerRalph Giles <giles@thaumas.net>2016-10-05 13:20:34 -0700
commit20104ce7e73d9fc0467e0b16f1d0b614836a4f56 (patch)
treeab9274ca27e9e0e60cfc74907615b5f3f6942bf2
parent0b7e73abd0e8c15cdda87f7463ec2c6439e9bc51 (diff)
downloadlibvorbis-git-20104ce7e73d9fc0467e0b16f1d0b614836a4f56.tar.gz
Add cmake as optional build system to Travis-CI configuration
-rw-r--r--.travis.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index bf14445a..04338927 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,11 @@ compiler:
env:
- BUILD_SYSTEM=AUTOTOOLS
+ - BUILD_SYSTEM=CMAKE
+
+matrix:
+ allow_failures:
+ - env: BUILD_SYSTEM=CMAKE
addons:
apt:
@@ -16,3 +21,8 @@ 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
+ - if [[ "$BUILD_SYSTEM" == "CMAKE" ]] ; then mkdir build ; fi
+ - if [[ "$BUILD_SYSTEM" == "CMAKE" ]] ; then pushd build ; fi
+ - if [[ "$BUILD_SYSTEM" == "CMAKE" ]] ; then cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. ; fi
+ - if [[ "$BUILD_SYSTEM" == "CMAKE" ]] ; then cmake --build . ; fi
+ - if [[ "$BUILD_SYSTEM" == "CMAKE" ]] ; then popd ; fi