We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a711fd9 commit 8c79790Copy full SHA for 8c79790
lib/arduino_ci.rb
@@ -37,6 +37,7 @@ def initialize
37
# attempt to determine if the machine is running a graphical display (i.e. not Travis)
38
def existing_display?
39
return true if RUBY_PLATFORM.include? "darwin"
40
+ return true if ENV["DISPLAY"].nil?
41
return true if ENV["DISPLAY"].include? ":"
42
false
43
end
0 commit comments