
language: node_js

node_js:
  - "4.1"
  - "0.10"
  - "0.6"

before_script:
  - npm install -g cordova ionic grunt-cli
  - ionic platform add android

script: grunt && ionic build


language: node_js

node_js:
  - "4.1"
  - "0.10"
  - "0.6"

# Stolen from https://github.com/leviwilson/android-travis-ci-example/blob/master/.travis.yml - thanks Levi!
before_script:
  - npm install -g cordova ionic grunt-cli
  - wget http://dl.google.com/android/android-sdk_r24-linux.tgz
  - tar -xzvf android-sdk_r24-linux.tgz
  - export ANDROID_HOME=`pwd`/android-sdk-linux
  - export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
  - ionic platform add android
  - android update sdk --filter 1,2,9 --no-ui --force

script: grunt && ionic build

Install ADK for Travis builds
Install ADK for Travis builds
