language: node_js
node_js:
    - "0.10"

before_script:
    - npm install -g grunt-cli@0.1.x
    - npm install -g mocha
    - npm install -g istanbul

script:
    - grunt --gruntfile ./gruntfile.js
    - istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --recursive && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
