language: java

jdk:
  - oraclejdk8

before_install:
  - rvm install 2.2.6
  - gem install android-sdk-installer

script:
  - android-sdk-installer
  - ./gradlew assembleDebug

language: java

jdk:
  - oraclejdk8

env:
  - ANDROID_HOME=$PWD/android-sdk

before_install:
  - rvm install 2.2.6
  - gem install android-sdk-installer

script:
  - android-sdk-installer
  - ./gradlew assembleDebug

Define the env variable beforehand
Define the env variable beforehand

