diff options
author | Aki <please@ignore.pl> | 2021-09-29 22:52:15 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-09-29 22:52:15 +0200 |
commit | 8f3471999e929bb99116fac52b94d572c42ba15e (patch) | |
tree | 44b482bc682cd6f58d9263af7ed88c03f400fb15 /.travis.yml | |
download | starshatter-8f3471999e929bb99116fac52b94d572c42ba15e.zip starshatter-8f3471999e929bb99116fac52b94d572c42ba15e.tar.gz starshatter-8f3471999e929bb99116fac52b94d572c42ba15e.tar.bz2 |
Squashed 'ogg/' content from commit 4380566a4
git-subtree-dir: ogg
git-subtree-split: 4380566a44b8d5e85ad511c9c17eb04197863ec5
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 17 insertions, 0 deletions
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 |