diff --git a/.travis.yml b/.travis.yml index 40b4dc4426b0e3a08e51c58f419e45485181c920..ef525aa065f3fb120540439eff32a9baa0277c5b 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