* redirect errors to dev/null of xvfb; second attempt

This commit is contained in:
Seth Call 2012-11-18 12:35:57 -06:00
parent d66b53e462
commit ea0e587d51
1 changed files with 1 additions and 1 deletions

2
build
View File

@ -24,7 +24,7 @@ echo "running jasmine tests"
#http://shortforgilbert.com/blog/2011/03/25/headless-jasmine-ci
# TODO starting Xvfb here because we don't do this on start of build server
# If you run it once, it will background/nohup itself, so this is 'lazy'
Xvfb :99 -screen 0 1440x900x16 & > /dev/null 2>&1
Xvfb :99 -screen 0 1440x900x16 > /dev/null 2>&1 &
# run jasmine using the virtual screen, and in the test environment to use the jam_web_test db
DISPLAY=":99" rake jasmine:ci RAILS_ENV=test