language: java sudo: false env: - GRADLE_USER_HOME=gradle-cache cache: directories: - gradle-cache - netbeans branches: only: - master notifications: slack: on_success: change on_failure: always rooms: secure: "PWEk4+VL986c3gAjWp12nqyifvxCjBqKoESG9d7zWh1uiTLadTHhZJRMdsye36FCpz/c/Jt7zCRO/5y7FaubQptnRrkrRfjp5f99MJRzQVXnUAM+y385qVkXKRKd/PLpM7XPm4AvjvxHCyvzX2wamRvul/TekaXKB9Ti5FCN87s=" install: - ./gradlew assemble script: - ./gradlew check - ./gradlew createZipDistribution deploy: provider: releases api_key: secure: "KbFiMt0a8FxUKvCJUYwikLYaqqGMn1p6k4OsXnGqwptQZEUIayabNLHeaD2kTNT3e6AY1ETwQLff/lB2LttmIo4g5NWW63g1K3A/HwgnhJwETengiProZ/Udl+ugPeDL/+ar43HUhFq4knBnzFKnEcHAThTPVqH/RMDvZf1UUYI=" file: build/distributions/jME3.1.0_snapshot-github_2015-06-20.zip skip_cleanup: true on: tags: true # before_install: # required libs for android build tools # sudo apt-get update # sudo apt-get install -qq p7zip-full # sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch # newest Android NDK # wget http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin -O ndk.bin # 7z x ndk.bin -y > /dev/null # export ANDROID_NDK=`pwd`/android-ndk-r10c