Let's try putting display in the rake command.
This commit is contained in:
parent
4e3e6d9562
commit
bc75c4acf5
1 changed files with 1 additions and 2 deletions
|
|
@ -1,8 +1,7 @@
|
|||
desc "Run all specs and features"
|
||||
task :ci => [:environment] do
|
||||
system "export DISPLAY=:99"
|
||||
system "/etc/init.d/xvfb start"
|
||||
system "bundle exec rake"
|
||||
system "DISPLAY=:99.0 bundle exec rake"
|
||||
exit_status = $?.exitstatus
|
||||
system "/etc/init.d/xvfb stop"
|
||||
raise "tests failed!" unless exit_status == 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue