Disable xvfb & selenium

This commit is contained in:
Daniel Kesselberg 2018-01-27 23:25:55 +01:00
parent c308e204d7
commit 45ecb9f3af

View File

@ -33,14 +33,14 @@ install:
#- unzip chromedriver_linux64.zip -d ./
#- export CHROME_BIN=chromium-browser
# Start xvfb for gui test
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
#- "export DISPLAY=:99.0"
#- "sh -e /etc/init.d/xvfb start"
# Download and start selenium
- sleep 3 # give xvfb some time to start
- echo "Download selenium-server-standalone jar file"
- wget -c -nc --retry-connrefused --tries=0 http://goo.gl/EoH85x -O selenium-server-standalone.jar
- echo "Run selenium server - background process"
- nohup bash -c "java -jar selenium-server-standalone.jar &" && sleep 1; cat nohup.out
#- sleep 3 # give xvfb some time to start
#- echo "Download selenium-server-standalone jar file"
#- wget -c -nc --retry-connrefused --tries=0 http://goo.gl/EoH85x -O selenium-server-standalone.jar
#- echo "Run selenium server - background process"
#- nohup bash -c "java -jar selenium-server-standalone.jar &" && sleep 1; cat nohup.out
# Run Composer update
- travis_retry composer self-update && composer --version
- travis_retry composer global require "fxp/composer-asset-plugin:~1.3"