language: node_js
node_js:
  - "0.12"
  - "iojs"
install:
  - sudo add-apt-repository -y ppa:openjdk-r/ppa
  - sudo apt-get update
  - sudo apt-get install -y openjdk-8-jdk
  - npm install
  - ./node_modules/.bin/tsc --version
  - ./node_modules/.bin/grunt --version
  - node Gruntfile.js || node Gruntfile.js  # Hack around tsc warnings
  - ./node_modules/.bin/grunt clean

script: ./node_modules/.bin/grunt test --grunt-ignore-compile-errors

language: node_js
node_js:
  - "0.12"
  - "4.1"
install:
  - sudo add-apt-repository -y ppa:openjdk-r/ppa
  - sudo apt-get update
  - sudo apt-get install -y openjdk-8-jdk
  - npm install
  - ./node_modules/.bin/tsc --version
  - ./node_modules/.bin/grunt --version
  - node Gruntfile.js || node Gruntfile.js  # Hack around tsc warnings
  - ./node_modules/.bin/grunt clean

script: ./node_modules/.bin/grunt test --grunt-ignore-compile-errors

Test on Node 4.1.x, not iojs.
Test on Node 4.1.x, not iojs.
