|
|
@@ -59,7 +59,7 @@ install:
|
|
|
- if [ $ANDROID ]; then wget -q http://dl.google.com/android/ndk/android-ndk32-r10-linux-x86_64.tar.bz2 && tar xjf *.bz2 && rm *.bz2 && ln -s android-ndk* android-ndk && export ANDROID_NDK=$(pwd)/android-ndk; if [ $PACKAGE_UPLOAD ]; then wget -q http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz && tar xzf *.tgz && rm *.tgz && ln -s android-sdk* android-sdk && export ANDROID_SDK=$(pwd)/android-sdk && (while :; do echo 'y'; sleep 1; done) |$ANDROID_SDK/tools/android update sdk --no-ui --filter platform-tool,build-tools-20.0.0,android-$API,extra-android-support; fi; fi
|
|
|
- bash -e /etc/init.d/xvfb start
|
|
|
before_script:
|
|
|
- - if [ $RPI ]; then travis_retry bash -c 'if [ -d rpi-tools ]; then rm -rf rpi-tools && sleep 60; fi && free -m && git clone --depth 1 https://github.com/raspberrypi/tools.git rpi-tools' && export RASPI_TOOL=$(pwd)/rpi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin && travis_retry bash -c 'if [ -d rpi-sysroot ]; then rm -rf rpi-sysroot && sleep 60; fi && free -m && git clone --depth 1 https://github.com/urho3d/rpi-sysroot.git rpi-sysroot' && export RASPI_ROOT=$(pwd)/rpi-sysroot; fi
|
|
|
+ - if [ $RPI ]; then free -m && git clone --depth 1 https://github.com/raspberrypi/tools.git rpi-tools && export RASPI_TOOL=$(pwd)/rpi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin && free -m && git clone --depth 1 https://github.com/urho3d/rpi-sysroot.git rpi-sysroot && export RASPI_ROOT=$(pwd)/rpi-sysroot; fi
|
|
|
script: rake travis_ci
|
|
|
after_success:
|
|
|
- if [ $SITE_UPDATE_ON_MASTER_COMMIT ]; then rake travis_ci_site_update && rake travis_ci_rebase; fi
|