1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00

bring back phantomjs installer script

This commit is contained in:
Jon Leighton 2012-07-01 19:17:37 +01:00
parent 26f67fad11
commit d151391af3
2 changed files with 9 additions and 0 deletions

View file

@ -1,7 +1,10 @@
before_script:
- sudo ci/install_phantomjs
# Use Google's name servers. The default name servers cannot
# resolve capybara1.elabs.se for unknown reasons.
- sudo su -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf; echo "nameserver 8.8.4.4" >> /etc/resolv.conf'
- ls -la /usr/local/bin/phantomjs
- env
- phantomjs --version
rvm:
- 1.9.3

6
ci/install_phantomjs Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
version=phantomjs-1.6.0-linux-i686-dynamic
wget http://phantomjs.googlecode.com/files/$version.tar.bz2
tar xjf $version.tar.bz2
ln -fs `pwd`/$version/bin/phantomjs /usr/local/bin/phantomjs