summaryrefslogtreecommitdiffhomepage
path: root/ogg/.travis.yml
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-10-01 23:46:47 +0200
committerAki <please@ignore.pl>2021-10-01 23:46:47 +0200
commitddd76aa4e1571c8d5965709db5c3cd47a89c9a38 (patch)
tree4e07bfaebede6531a70984fdebc855bca52f394a /ogg/.travis.yml
parent3a507e08b1d4e5970b27401a7e6517570d529400 (diff)
parentc2d2c3551501110fddd78674d5435bfaa70382a3 (diff)
downloadstarshatter-ddd76aa4e1571c8d5965709db5c3cd47a89c9a38.zip
starshatter-ddd76aa4e1571c8d5965709db5c3cd47a89c9a38.tar.gz
starshatter-ddd76aa4e1571c8d5965709db5c3cd47a89c9a38.tar.bz2
Project is now built with CMake
Diffstat (limited to 'ogg/.travis.yml')
-rw-r--r--ogg/.travis.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/ogg/.travis.yml b/ogg/.travis.yml
new file mode 100644
index 0000000..43a3b1a
--- /dev/null
+++ b/ogg/.travis.yml
@@ -0,0 +1,17 @@
+language: c
+dist: trusty
+
+env:
+ - BUILD=AUTOTOOLS
+ - BUILD=CMAKE
+
+script:
+ - if [[ "$BUILD" == "AUTOTOOLS" ]] ; then ./autogen.sh ; fi
+ - if [[ "$BUILD" == "AUTOTOOLS" ]] ; then ./configure ; fi
+ - if [[ "$BUILD" == "AUTOTOOLS" ]] ; then make distcheck ; fi
+ - if [[ "$BUILD" == "CMAKE" ]] ; then mkdir build ; fi
+ - if [[ "$BUILD" == "CMAKE" ]] ; then pushd build ; fi
+ - if [[ "$BUILD" == "CMAKE" ]] ; then cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PWD/_inst .. ; fi
+ - if [[ "$BUILD" == "CMAKE" ]] ; then cmake --build . ; fi
+ - if [[ "$BUILD" == "CMAKE" ]] ; then cmake --build . --target install ; fi
+ - if [[ "$BUILD" == "CMAKE" ]] ; then popd ; fi