language: node_js

node_js:
 - "0.10"

services:
 - mysql

notifications:
  irc:
    channels:
      - "irc.mozilla.org#fxa"
    use_notice: false
    skip_join: false

before_install:
  - npm config set spin false

before_script:
  - mysql -e 'DROP DATABASE IF EXISTS fxa'
  - npm i grunt-cli -g
  - npm run outdated
  - grunt validate-shrinkwrap --force

script:
  - npm test

language: node_js

node_js:
 - "0.10"
 - "0.12"
 - "iojs"

services:
 - mysql

notifications:
  irc:
    channels:
      - "irc.mozilla.org#fxa"
    use_notice: false
    skip_join: false

before_install:
  - npm config set spin false

before_script:
  - mysql -e 'DROP DATABASE IF EXISTS fxa'
  - npm i grunt-cli -g
  - npm run outdated
  - grunt validate-shrinkwrap --force

script:
  - npm test

matrix:
  allow_failures:
    - node_js: "0.12"
    - node_js: "iojs"
  fast_finish: true

Test on node.js v0.10, v0.12 and the latest io.js
chore(test): Test on node.js v0.10, v0.12 and the latest io.js
