language: java
jdk:
  - oraclejdk8

branches:
  only:
  - master

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_HOME=`pwd`/android-ndk-r10c

language: java
jdk:
  - oraclejdk8

branches:
  only:
  - master

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

Use ANDROID_NDK instead of ANDROID_NDK_HOME (that's what the build script uses)
Use ANDROID_NDK instead of ANDROID_NDK_HOME (that's what the build script uses)
