Browse Source

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)
pull/2/head
Gleb Mazovetskiy 4 years ago committed by Alibek Omarov
parent
commit
b40344f1f0
  1. 4
      scripts/travis_android_deps.sh
  2. 2
      scripts/travis_linux_deps.sh
  3. 2
      scripts/travis_windows_deps.sh

4
scripts/travis_android_deps.sh

@ -8,7 +8,7 @@ git clone --depth 1 --recursive https://github.com/FWGS/hlsdk-xash3d hlsdk || ex @@ -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 @@ -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"

2
scripts/travis_linux_deps.sh

@ -1,4 +1,4 @@ @@ -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

2
scripts/travis_windows_deps.sh

@ -1,4 +1,4 @@ @@ -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

Loading…
Cancel
Save