Commit e19b456e authored by David Morley's avatar David Morley

ex display

parent 70d0bcd8
......@@ -4,7 +4,7 @@ php:
- 5.4
before_script: "./phpunit/before.sh"
#script: export DISPLAY=:99.0 && phpunit
script: export DISPLAY=:99.0 && phpunit
notifications:
irc: "irc.freenode.org#diasporg"
\ No newline at end of file
sh -e /etc/init.d/xvfb start
firefox -CreateProfile ./phpunit/ff.profile
export DISPLAY=:99.0 && firefox -CreateProfile ./phpunit/ff.profile
wget http://selenium.googlecode.com/files/selenium-server-standalone-2.15.0.jar
sudo java -jar selenium-server-standalone-2.15.0.jar -firefoxProfileTemplate "./phpunit/ff.profile/"&
export DISPLAY=:99.0 && sudo java -jar selenium-server-standalone-2.15.0.jar -firefoxProfileTemplate "./phpunit/ff.profile/"&
pyrus install phpunit/PHPUnit_Selenium
phpenv rehash
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment