language: android jdk: openjdk7 sudo: false env: global: - NDK_VERSION=r10e cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/dists/ - $HOME/.cache/ndk addons: apt: packages: - ia32-libs - ia32-libs-multiarch - libgd2-xpm - p7zip-full before_script: # newest Android NDK - mkdir -p $HOME/.cache/ndk - curl https://dl.google.com/android/ndk/android-ndk-${NDK_VERSION}-linux-x86_64.bin -z $HOME/.cache/ndk/ndk-${NDK_VERSION}.bin -o $HOME/.cache/ndk/ndk-${NDK_VERSION}.bin - 7z x -y $HOME/.cache/ndk/ndk-${NDK_VERSION}.bin | grep -v 'ing ' - echo "ndk.dir=`pwd`/android-ndk-${NDK_VERSION}" >> local.properties android: components: - build-tools-22.0.0 - android-22 - extra-android-support - extra-android-m2repository license: - '.+' script: ./gradlew build check test