Add an install of phantom2 before install hook on travis

old
Javi Velasco 2015-07-25 19:14:54 +02:00
parent e049a085fa
commit 69d0358651
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,8 @@
language: node_js
node_js:
- 0.10
before_install:
- mkdir travis-phantomjs
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
- export PATH=$PWD/travis-phantomjs:$PATH