Skip to content

Commit acd4eda

Browse files
committed
Disable display manager to see if CI still fails (or if Arduino removed the GUI)
1 parent 155ca1d commit acd4eda

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/arduino_ci/display_manager.rb

+1-5
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,7 @@ def initialize
3333
# attempt to determine if the machine is running a graphical display (i.e. not Travis)
3434
# @return [bool] whether there is already a GUI that can accept windows
3535
def existing_display?
36-
return true if RUBY_PLATFORM.include? "darwin"
37-
return true if Host.os == :windows
38-
return false if ENV["DISPLAY"].nil?
39-
return true if ENV["DISPLAY"].include? ":"
40-
false
36+
true
4137
end
4238

4339
# check whether a process is alive

0 commit comments

Comments
 (0)