瀏覽代碼

Travis: Filter verbose output of ndk install

Screw you travis... Timeout after 10 minutes without log output,
but build killed once the log reaches 4 MB...
Rémi Verschelde 9 年之前
父節點
當前提交
dfb9ba877e
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      .travis.yml

+ 5 - 1
.travis.yml

@@ -68,7 +68,11 @@ addons:
 
 before_script:
   - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install scons; fi
-  - if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$GODOT_TARGET" = "android" ]; then brew update; brew install -v android-sdk android-ndk; export ANDROID_HOME=/usr/local/opt/android-sdk; export ANDROID_NDK_ROOT=/usr/local/opt/android-ndk; fi
+  - if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$GODOT_TARGET" = "android" ]; then
+      brew update; brew install -v android-sdk;
+      brew install -v android-ndk | grep -v inflating;
+      export ANDROID_HOME=/usr/local/opt/android-sdk; export ANDROID_NDK_ROOT=/usr/local/opt/android-ndk;
+    fi
 
 script:
   - scons platform=$GODOT_TARGET CXX=$CXX openssl=builtin