diff options
author | Ralph Giles <giles@thaumas.net> | 2019-08-07 14:27:45 -0700 |
---|---|---|
committer | Ralph Giles <giles@thaumas.net> | 2019-08-07 15:58:05 -0700 |
commit | 7c78ab63ec6316a702212291f7c62f38c5e7ba89 (patch) | |
tree | 47cfd43cc782eadb361bf3528cb31bef72e63638 /.travis.yml | |
parent | be336819acdc117711e879c7b4c00e877050df50 (diff) | |
download | ogg-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.yml | 2 |
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 |