---
language: android
android:
  components:
    - tools
    - tools
    - platform-tools
    - build-tools-24.0.1
    - android-24
    - extra-android-support
    - extra-android-m2repository
    - extra-google-m2repository
    - extra-google-google_play_services
jdk:
  - oraclejdk8
notifications:
      email: true
before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/

before_script:
  - 'chmod +x add-licences.sh && sh add-licenses.sh'
  - 'chmod +x gradlew'
script:
  - './gradlew test' # Run unit tests

---
language: android
android:
  components:
    - tools
    - tools
    - platform-tools
    - build-tools-24.0.1
    - android-24
    - extra-android-support
    - extra-android-m2repository
    - extra-google-m2repository
    - extra-google-google_play_services
jdk:
  - oraclejdk8
notifications:
      email: true
before_cache:
  - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
  directories:
    - $HOME/.gradle/caches/
    - $HOME/.gradle/wrapper/

before_script:
  - 'chmod +x add-licenses.sh && sh add-licenses.sh'
  - 'chmod +x gradlew'
script:
  - './gradlew test' # Run unit tests

Fix typo on script name
Fix typo on script name
