Method: Travis::Tools::System.os_name

Defined in:
lib/travis/tools/system.rb

.os_nameObject



43
44
45
46
# File 'lib/travis/tools/system.rb', line 43

def os_name
  @os_name ||= has?(:sw_vers)     && `sw_vers -productName`.chomp
  @os_name ||= has?(:lsb_release) && `lsb_release -i -s`.chomp
end