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:
parent
26f67fad11
commit
d151391af3
2 changed files with 9 additions and 0 deletions
|
@ -1,7 +1,10 @@
|
||||||
before_script:
|
before_script:
|
||||||
|
- sudo ci/install_phantomjs
|
||||||
# Use Google's name servers. The default name servers cannot
|
# Use Google's name servers. The default name servers cannot
|
||||||
# resolve capybara1.elabs.se for unknown reasons.
|
# 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'
|
- 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
|
- phantomjs --version
|
||||||
rvm:
|
rvm:
|
||||||
- 1.9.3
|
- 1.9.3
|
||||||
|
|
6
ci/install_phantomjs
Executable file
6
ci/install_phantomjs
Executable 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
|
Loading…
Add table
Reference in a new issue