language: android
sudo: required
dist: trusty
jdk:
  - oraclejdk8

android:
  components:
    - tools
    - build-tools-23.0.2
    - android-23
    - extra

services:
  - postgresql
  - mysql

before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/

before_install:
  - mysql -e "create database if not exists testdb;" -uroot
  - psql -c 'create database testdb;' -U postgres

before_script:
  - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
  - emulator -avd test -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &

language: android
sudo: required
dist: trusty
jdk:
  - oraclejdk8

android:
  components:
    - tools
    - build-tools-23.0.3
    - android-23
    - extra

services:
  - postgresql
  - mysql

before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/

before_install:
  - mysql -e "create database if not exists testdb;" -uroot
  - psql -c 'create database testdb;' -U postgres

before_script:
  - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
  - emulator -avd test -no-audio -no-window &
  - android-wait-for-emulator
  - adb shell input keyevent 82 &

Update Android build tools version
Update Android build tools version
