machine:
  java:
    version: oraclejdk8

dependencies:
  pre:
    - wget -q https://dl.bintray.com/sbt/debian/sbt-0.13.12.deb
    - sudo dpkg -i sbt-0.13.12.deb
    - ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk --no-ui --all --filter "tools,platform-tools,android-24,extra-google-m2repository,extra-android-m2repository,extra-android-support,extra-google-google_play_services"
    - echo y | android update sdk --no-ui --all --filter "build-tools-24.0.1"
  cache_directories:
    - ~/.ivy2
    - ~/.sbt
  override:
    - sbt compile

test:
  pre:
    - sbt clean
  override:
    - sbt compile
machine:
  java:
    version: oraclejdk8

dependencies:
  pre:
    - wget -q https://dl.bintray.com/sbt/debian/sbt-0.13.12.deb
    - sudo dpkg -i sbt-0.13.12.deb
    - ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk --no-ui --all --filter "tools,platform-tools,android-24,extra-google-m2repository,extra-android-m2repository,extra-android-support,extra-google-google_play_services"
    - echo y | android update sdk --no-ui --all --filter "build-tools-24.0.3"
  cache_directories:
    - ~/.ivy2
    - ~/.sbt
  override:
    - sbt compile

test:
  pre:
    - sbt clean
  override:
    - sbt compile
Upgrade to Android build tools 24.0.3
Upgrade to Android build tools 24.0.3
