* redirect errors to dev/null of xvfb; second attempt
This commit is contained in:
parent
d66b53e462
commit
ea0e587d51
2
build
2
build
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue