mirror of
https://github.com/teampoltergeist/poltergeist.git
synced 2022-11-09 12:05:00 -05:00
Add new CI config
This commit is contained in:
parent
ccb8551288
commit
a0ef4df169
2 changed files with 4 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
before_script:
|
||||
- "sudo bash ci/install_phantomjs > /dev/null"
|
||||
- "sudo ci/install_phantomjs"
|
||||
- "sudo apt-get install xvfb -y"
|
||||
- "Xvfb :0 &"
|
||||
env: DISPLAY=:0
|
||||
|
|
9
ci/install_phantomjs
Normal file → Executable file
9
ci/install_phantomjs
Normal file → Executable file
|
@ -1,8 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
apt-get install libqtwebkit-dev -y
|
||||
git clone git://github.com/ariya/phantomjs.git
|
||||
cd phantomjs
|
||||
qmake-qt4
|
||||
make
|
||||
cp bin/phantomjs /usr/local/bin/
|
||||
wget http://phantomjs.googlecode.com/files/phantomjs-1.4.1-linux-x86-dynamic.tar.gz
|
||||
tar xvzf phantomjs-*.tar.gz
|
||||
ln -s phantomjs/bin/phantomjs /usr/local/bin/phantomjs
|
||||
|
|
Loading…
Add table
Reference in a new issue