From b40344f1f0643a6b027b0d8f32b3614ed3ebd273 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Mon, 28 Dec 2020 01:13:53 +0000 Subject: [PATCH] travis: unzip quietly Helps avoid the following error message: > The job exceeded the maximum log length, and has been terminated. (e.g. https://travis-ci.org/github/FWGS/xash3d-fwgs/jobs/751744736) --- scripts/travis_android_deps.sh | 4 ++-- scripts/travis_linux_deps.sh | 2 +- scripts/travis_windows_deps.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/travis_android_deps.sh b/scripts/travis_android_deps.sh index 3e17a95e..06d6a8d9 100755 --- a/scripts/travis_android_deps.sh +++ b/scripts/travis_android_deps.sh @@ -8,7 +8,7 @@ git clone --depth 1 --recursive https://github.com/FWGS/hlsdk-xash3d hlsdk || ex echo "Download and unpack Android SDK" mkdir -p sdk && cd sdk wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip -qO sdk.zip > /dev/null || exit 1 -unzip -x sdk.zip || exit 1 +unzip -q sdk.zip || exit 1 cd $TRAVIS_BUILD_DIR echo "Download all needed tools and NDK" @@ -20,7 +20,7 @@ fi sdk/tools/bin/sdkmanager --install build-tools\;29.0.1 platform-tools platforms\;android-29 $NDK_BUNDLE > /dev/null 2>/dev/null if [ "$1" = "r10e" ]; then wget https://dl.google.com/android/repository/android-ndk-r10e-linux-x86_64.zip -qO ndk.zip > /dev/null || exit 1 - unzip -x ndk.zip || exit 1 + unzip -q ndk.zip || exit 1 mv android-ndk-r10e sdk/ndk-bundle fi echo "Download Xash3D FWGS Android source" diff --git a/scripts/travis_linux_deps.sh b/scripts/travis_linux_deps.sh index e255ffe0..215c9108 100755 --- a/scripts/travis_linux_deps.sh +++ b/scripts/travis_linux_deps.sh @@ -1,4 +1,4 @@ # SDL2 sources. We will build our own version curl http://libsdl.org/release/SDL2-$SDL_VERSION.zip -o SDL2.zip -unzip -x SDL2.zip +unzip -q SDL2.zip mv SDL2-$SDL_VERSION SDL2_src diff --git a/scripts/travis_windows_deps.sh b/scripts/travis_windows_deps.sh index bd113407..52644b4d 100644 --- a/scripts/travis_windows_deps.sh +++ b/scripts/travis_windows_deps.sh @@ -1,4 +1,4 @@ # SDL2 for VC prebuilt curl http://libsdl.org/release/SDL2-devel-$SDL_VERSION-VC.zip -o SDL2.zip -unzip SDL2.zip +unzip -q SDL2.zip mv SDL2-$SDL_VERSION SDL2_VC