language: node_js

node_js:
  - 0.8

before_script:
  - node test/runner.js
  - phantomjs --version
  - nohup python -m SimpleHTTPServer 8000 &

script: phantomjs tools/phantom.js http://127.0.0.1:8000/test/runner.html?console

language: node_js

node_js:
  - 0.8

before_install:
  - wget http://phantomjs.googlecode.com/files/phantomjs-1.7.0-linux-i686.tar.bz2
  - tar -xf phantomjs-1.7.0-linux-i686.tar.bz2
  - sudo rm -rf /usr/local/phantomjs
  - sudo mv phantomjs-1.7.0-linux-i686 /usr/local/phantomjs

before_script:
  - node test/runner.js
  - phantomjs --version
  - nohup python -m SimpleHTTPServer 8000 &

script: phantomjs tools/phantom.js http://127.0.0.1:8000/test/runner.html?console

Install PhantomJS manually in Tranvis CI
Install PhantomJS manually in Tranvis CI
