Don't need to export the selenium server port anymore on CI. Yay!
This commit is contained in:
parent
6d6445b00a
commit
8de71d41e4
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ namespace :cruise do
|
||||||
puts "Starting virtual display..."
|
puts "Starting virtual display..."
|
||||||
`sh -e /etc/init.d/xvfb start`
|
`sh -e /etc/init.d/xvfb start`
|
||||||
puts "Starting specs..."
|
puts "Starting specs..."
|
||||||
system('export DISPLAY=:99.0 && export SELENIUM_SERVER_PORT=53809 && bundle exec rake')
|
system('export DISPLAY=:99.0 && bundle exec rake')
|
||||||
exit_status = $?.exitstatus
|
exit_status = $?.exitstatus
|
||||||
puts "Stopping virtual display..."
|
puts "Stopping virtual display..."
|
||||||
`sh -e /etc/init.d/xvfb stop`
|
`sh -e /etc/init.d/xvfb stop`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue