language: node_js

notifications:
    email:
        - yiminghe@gmail.com

node_js:
  - 0.8

before_script:
  - node ./tools/test/gen-tc.js
  - node ./tools/test/server.js &

script:
  - npm test
  - phantomjs ./tools/test/jasmine-phantomjs.js