summaryrefslogtreecommitdiffhomepage
path: root/ogg/.travis.yml
diff options
context:
space:
mode:
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