language: node_js
node_js:
  - 0.10
before_script:
  - npm install connect coveralls
  - node phantomjs/server.js &
  - sleep 5
script:
  - rm -f data.lcov 
  - phantomjs phantomjs/runner.js "http://localhost:8000/test/test.html?gruntReport&coverage"
  - node node_modules/coveralls/bin/coveralls.js < data.lcov
