language: android

jdk:
  - oraclejdk8

android:
  components:
    - tools
    - platform-tools
    - build-tools-25.0.2
    - android-25
    - extra-android-m2repository
    - extra-google-m2repository

env:
  global:
  - BUILD_NUMBER=4

before_install:
  - nvm install 6.1
  - npm install -g npm@'^4.3.0'
  - npm install -g grunt-cli
  - npm install -g tabris-cli@~2.0.2
  - mkdir "$ANDROID_HOME/licenses" || true
  - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
  - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"

install:
  - npm install

script: tabris build android

language: android

jdk:
  - oraclejdk8

android:
  components:
    - tools
    - platform-tools
    - build-tools-26.0.2
    - android-26
    - extra-android-m2repository
    - extra-google-m2repository

env:
  global:
  - BUILD_NUMBER=4

before_install:
  - nvm install 6.1
  - npm install -g npm@'^4.3.0'
  - npm install -g grunt-cli
  - npm install -g tabris-cli@~2.1.0
  - mkdir "$ANDROID_HOME/licenses" || true
  - echo -e "\nd56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
  - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"

install:
  - npm install

script: tabris build android

Update Android build tools to 26.0.2
Update Android build tools to 26.0.2
