Class: Gemsmith::Skeletons::TravisSkeleton

Inherits:
BaseSkeleton show all
Defined in:
lib/gemsmith/skeletons/travis_skeleton.rb

Overview

Configures Travis CI support.

Instance Method Summary collapse

Methods inherited from BaseSkeleton

create, #initialize

Constructor Details

This class inherits a constructor from Gemsmith::Skeletons::BaseSkeleton

Instance Method Details

#createObject



5
6
7
8
# File 'lib/gemsmith/skeletons/travis_skeleton.rb', line 5

def create
  return unless configuration.create_travis?
  cli.template "%gem_name%/.travis.yml.tt", configuration.to_h
end