summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorRalph Giles <giles@thaumas.net>2019-08-07 14:27:45 -0700
committerRalph Giles <giles@thaumas.net>2019-08-07 15:58:05 -0700
commit7c78ab63ec6316a702212291f7c62f38c5e7ba89 (patch)
tree47cfd43cc782eadb361bf3528cb31bef72e63638 /.travis.yml
parentbe336819acdc117711e879c7b4c00e877050df50 (diff)
downloadogg-git-7c78ab63ec6316a702212291f7c62f38c5e7ba89.tar.gz
Only call cpack on linux travis builds.
The DEB package generator isn't available in the cmake version provided by travis-ci.org, so only skip invoking it there. Unbreaks cmake build tests after adding macOS coverage.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 40b4dc4..ef525aa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,5 +24,5 @@ script:
- 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" ]] ; then cpack -G DEB ; fi
+ - if [[ "$BUILD" == "CMAKE" && "$TRAVIS_OS_NAME" == "linux" ]] ; then cpack -G DEB ; fi
- if [[ "$BUILD" == "CMAKE" ]] ; then popd ; fi