summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorclaude-bot <[email protected]>2026-07-13 12:40:00 +0000
committerclaude-bot <[email protected]>2026-07-13 12:40:00 +0000
commit740291cf2ae7f360b4ab119746da9ac2ef6611e4 (patch)
tree2fd7c57651516fbef1d0716e3276c24b8f71ed52 /.travis.yml
downloadogg-master.tar.gz
ogg-master.zip
Import xiph/ogg @ 36f969bb37559345ee03796ed625a9abd42c6db9HEADmaster
Snapshot for re3/reVC vendoring, per @lzcnt. Source: https://github.com/xiph/ogg (36f969bb37559345ee03796ed625a9abd42c6db9).
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f7187cb
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,25 @@
+language: c
+
+os:
+ - linux
+ - osx
+
+compiler:
+ - gcc
+ - clang
+
+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 -DBUILD_TESTING=ON -DCPACK_PACKAGE_CONTACT="Xiph.Org Foundation" .. ; fi
+ - if [[ "$BUILD" == "CMAKE" ]] ; then cmake --build . ; fi
+ - if [[ "$BUILD" == "CMAKE" ]] ; then ctest ; fi
+ - if [[ "$BUILD" == "CMAKE" && "$TRAVIS_OS_NAME" == "linux" ]] ; then cpack -G DEB ; fi
+ - if [[ "$BUILD" == "CMAKE" ]] ; then popd ; fi