diff --git a/.travis.yml b/.travis.yml index 04c6f0ae..09e407dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,12 +18,12 @@ before_install: - chmod +x android-ndk-r10e-linux-x86_64.bin && ./android-ndk-r10e-linux-x86_64.bin > /dev/null - mv android-ndk-r10e android-ndk - export PATH=`pwd`/android-ndk:`pwd`/android-sdk-linux/tools:`pwd`/android-sdk-linux/platform-tools:$PATH - - git clone -q https://github.com/SDLash3D/xash3d jni/src/Xash3D/xash3d - - git clone -q https://github.com/SDLash3D/halflife jni/src/HLSDK/halflife - - git clone -q https://github.com/SDLash3D/MobileTouchControls jni/src/MobileTouchControls/MobileTouchControls - - git clone -q https://github.com/SDLash3D/nanogl jni/src/NanoGL/nanogl - - git clone -q https://github.com/SDLash3D/XashXT jni/src/XashXT/XashXT - - git clone -q https://github.com/mittorn/SDL-mirror jni/src/SDL2/SDL-mirror + - git clone -q --depth=0 https://github.com/SDLash3D/xash3d jni/src/Xash3D/xash3d + - git clone -q --depth=0 https://github.com/SDLash3D/halflife jni/src/HLSDK/halflife + - git clone -q --depth=0 https://github.com/SDLash3D/MobileTouchControls jni/src/MobileTouchControls/MobileTouchControls + - git clone -q --depth=0 https://github.com/SDLash3D/nanogl jni/src/NanoGL/nanogl + - git clone -q --depth=0 https://github.com/SDLash3D/XashXT jni/src/XashXT/XashXT + - git clone -q --depth=0 https://github.com/mittorn/SDL-mirror jni/src/SDL2/SDL-mirror - sed -i -- s/android-8/android-12/g project.properties before_script: - - ndk-build NDK_TOOLCHAIN_VERSION=4.8 XASH_SDL=1 SUPPORT_WEBP=false -j2 + - ndk-build NDK_TOOLCHAIN_VERSION=4.8 XASH_SDL=1 SUPPORT_WEBP=false -j2 APP_CFLAGS="-w"