class Coveralls::CommandLine

def push

def push
  return unless ensure_can_run_locally!
  ENV["COVERALLS_RUN_LOCALLY"] = "true"
  cmds = "bundle exec rake"
  if File.exist?('.travis.yml')
    cmds = YAML.load_file('.travis.yml')["script"] || cmds rescue cmds
  end
  cmds.each { |cmd| system cmd }
  ENV["COVERALLS_RUN_LOCALLY"] = nil
end