language: node_js
before_install:
  - wget https://services.gradle.org/distributions/gradle-2.3-bin.zip
  - unzip gradle-2.3-bin.zip
  - export GRADLE_HOME=$PWD/gradle-2.3
  - export PATH=$GRADLE_HOME/bin:$PATH
  - mkdir travis-phantomjs
  - wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
  - tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
  - export PATH=$PWD/travis-phantomjs:$PATH
install:
  - npm install
  - ./node_modules/.bin/grunt
node_js:
   - "0.10"
   - "0.12"
sudo: false
cache:
  directories:
    - $HOME/.gradle

language: node_js
before_install:
  - wget https://services.gradle.org/distributions/gradle-2.3-bin.zip
  - unzip gradle-2.3-bin.zip
  - export GRADLE_HOME=$PWD/gradle-2.3
  - export PATH=$GRADLE_HOME/bin:$PATH
  - mkdir travis-phantomjs
  - wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
  - tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
  - export PATH=$PWD/travis-phantomjs:$PATH
  - nvm ls-remote
install:
  - npm install
  - ./node_modules/.bin/grunt
node_js:
   - "0.10"
   - "0.12"
sudo: false
cache:
  directories:
    - $HOME/.gradle

Add command to debug Travis issue
Add command to debug Travis issue
