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)
This commit is contained in:
Gleb Mazovetskiy 2020-12-28 01:13:53 +00:00 committed by Alibek Omarov
parent 36b32cad0f
commit b40344f1f0
3 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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

View File

@ -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