From 8f3471999e929bb99116fac52b94d572c42ba15e Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 29 Sep 2021 22:52:15 +0200 Subject: Squashed 'ogg/' content from commit 4380566a4 git-subtree-dir: ogg git-subtree-split: 4380566a44b8d5e85ad511c9c17eb04197863ec5 --- .travis.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..43a3b1a --- /dev/null +++ b/.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 -- cgit v1.1