Skip to content

Commit a9a3121

Browse files
authored
Auto deploy to rubygems on tags (#554)
1 parent 85a9473 commit a9a3121

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

.travis.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
sudo: false
22
language: ruby
33
rvm:
4-
- 2.2.7
5-
- 2.3.4
6-
- 2.4.1
7-
- ruby-head
4+
- 2.2.7
5+
- 2.3.4
6+
- 2.4.1
7+
- ruby-head
88
matrix:
99
allow_failures:
10-
- rvm: ruby-head
10+
- rvm: ruby-head
1111
before_install:
12-
- gem update --system
13-
- gem update bundler
12+
- gem update --system
13+
- gem update bundler
1414
script:
15-
- bundle exec rubocop && bundle exec rspec
15+
- bundle exec rubocop && bundle exec rspec
16+
deploy:
17+
provider: rubygems
18+
api_key:
19+
secure: Y7DUitak26kcRAAkgph/7m6Y1wHeObD0BelSSJbmCfjkRd/qaVy7fz9VvHL9zxlRJtLGVHInyCnwcfzinibY6OFd3MoMYHKv8GFa2LxLJNEVSY46KQYFxfH5JTg1ejh6ldoJRRBoeOx9dcWS80pRNjYMKPGnpSz7yDBl1azibFs=
20+
gem: annotate
21+
on:
22+
tags: true
23+
repo: ctran/annotate_models

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ gem 'rake', require: false
88
group :development do
99
gem 'bump'
1010
gem 'mg', require: false
11+
gem 'travis', require: false
1112
platforms :mri, :mingw do
1213
gem 'yard', require: false
1314
end

0 commit comments

Comments
 (0)