language: node_js
node_js:
  - 0.8
  - 0.10
  - 0.12
  - "stable"
before_install:
  - NODE_VERSION=$(node -e 'console.log(process.version.replace(/[.][0-9]+$/, ""))')
  - if [ "v0.8" = "$NODE_VERSION" ]; then npm install -g npm@2.7.3 ; fi
script: npm run test-spec
sudo: false
