lib/lois/cli.rb in lois-0.1.2 vs lib/lois/cli.rb in lois-0.1.3

- old
+ new

@@ -123,18 +123,20 @@ config.github_credentials = options[:github_credentials] case options[:ci] when 'circleci' config.ci = Lois::Ci::Circleci.new + when 'travis' + config.ci = Lois::Ci::Travis.new end Dir.mkdir('lois') unless Dir.exist?('lois') config.github = Lois::Github.new( config.github_credentials, config.ci.organization, config.ci.repository, - config.ci.pull_request_sha + config.ci.commit_sha ) end end end end