Skip to content

Commit

Permalink
Use consistent filenaming for Travis template
Browse files Browse the repository at this point in the history
  • Loading branch information
FTLam11 authored and hsbt committed Jun 18, 2020
1 parent 9292313 commit 1cb88eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/cli/gem.rb
Expand Up @@ -112,7 +112,7 @@ def run
when "github"
templates.merge!(".github/workflows/main.yml.tt" => ".github/workflows/main.yml")
when "travis"
templates.merge!("travis.yml.tt" => ".travis.yml")
templates.merge!(".travis.yml.tt" => ".travis.yml")
when "gitlab"
templates.merge!(".gitlab-ci.yml.tt" => ".gitlab-ci.yml")
when "circle"
Expand Down
6 changes: 6 additions & 0 deletions lib/bundler/templates/newgem/.travis.yml.tt
@@ -0,0 +1,6 @@
---
language: ruby
cache: bundler
rvm:
- <%= RUBY_VERSION %>
before_install: gem install bundler -v <%= Bundler::VERSION %>

0 comments on commit 1cb88eb

Please sign in to comment.