Permalink
Browse files

use default phantomjs in travis-ci

  • Loading branch information...
natsumesou committed Mar 31, 2012
1 parent fa3a105 commit 5052ad66f3a10c4b04e7f5c0bafb15aeec636276
Showing with 6 additions and 6 deletions.
  1. +6 −6 .travis.yml
View
@@ -1,11 +1,11 @@
-language: javascript
+language: node_js
+
+node_js:
+ - 0.6
before_script:
- - sudo apt-get install -y build-essential chrpath git-core libssl-dev libfontconfig1-dev
- - if [ ! -d "./phantomjs" ]; then git clone git://github.com/ariya/phantomjs.git && cd phantomjs ;fi
- - if [ $(basename $PWD) = "phantomjs" ]; then git checkout 1.5 ;fi
- - command -v phantomjs > /dev/null || ./build.sh
+ - "export DISPLAY=:99.0"
+ - "sh -e /etc/init.d/xvfb start"
script:
- phantomjs ./spec/spec.js
-

0 comments on commit 5052ad6

Please sign in to comment.