summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorevpobr <evpobr@gmail.com>2018-09-24 10:20:47 +0500
committerErik de Castro Lopo <erikd@mega-nerd.com>2019-04-23 12:05:50 +1000
commit6ccfcc2dce48c0d430b45064d0e13c962a64c42f (patch)
tree40aae6818b8c5ac183401a0a167adfab92bd73d1 /.travis.yml
parentf7dadaaf75634289f7ead64ed1802b627d761ee3 (diff)
downloadogg-git-6ccfcc2dce48c0d430b45064d0e13c962a64c42f.tar.gz
Add CMake config-file package generation
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 43a3b1a..aa5d0a7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,7 +11,8 @@ script:
- 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 -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 cmake --build . --target install ; fi
+ - if [[ "$BUILD" == "CMAKE" ]] ; then ctest ; fi
+ - if [[ "$BUILD" == "CMAKE" ]] ; then cpack -G DEB ; fi
- if [[ "$BUILD" == "CMAKE" ]] ; then popd ; fi