Skip to content

Commit

Permalink
[gem/ci] gem auto publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
0exp committed Jun 4, 2019
1 parent 8cbe9dd commit 83a146d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ inherit_gem:

AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.5
TargetRubyVersion: 2.3
24 changes: 16 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@ script: bundle exec $SUITE
matrix:
fast_finish: true
include:
- rvm: 2.3
- rvm: 2.4
- rvm: 2.5
- rvm: 2.6
- rvm: ruby-head
- rvm: 2.6
env: SUITE="rubocop"
- rvm: 2.3
- rvm: 2.4
- rvm: 2.5
- rvm: 2.6
- rvm: ruby-head
- rvm: 2.6
env: SUITE="rubocop"
allow_failures:
- rvm: ruby-head
- rvm: ruby-head
deploy:
api_key:
secure: KuSLs/hS2gsUmBV0EVb9NDCMU4aUlY52ZXVZD82kKGxZh1fQQe/KZJknQuCd2r9bA9MQBSV1vK0OnmAaWnJqW/IwIt+7RP/LiMm3hZMpiLKzC3IC9bAP4zwHpzJMj95f7K6JSaX3zwH4wY3mcyPEA2qIuu3RDuDsOBBCQwEsyIxnUYGoM7hqJ9anXpf45rUISkGF+mVdQghOybDRVUaxMjaeWzQSpwqS66SxNgsPoABY4OLboM8kJKYG1npBQxxsn/S3tnMTinZaOrY2JyNbLsu741qD+WWRZDPuw9/wQfiWE7au/gVRKW7htwmwkBMfF7OLnM2/bhLhbT7dcf70xHUodoqHcxefo+tq8d4MHnoGMqPPOb9J1L0p9QLALNG7/U9upXlB9n3IBuIcCHXYY2CL7Cf4HYNx4SASndrc5d/iZe4NCdSL06wNdTfxvNHK7JWzHE/lxhQuLyoDIqtSi/L0/VwWAF9OPx+zn1cpR7UrNxcUU+eXuExiGV4AwRhUjsd8JpnW0+fPbnot3jK7eo9JnnbOgY967GHeIyfwLvP2FmtI7Xx/eBrbWLPk+9ZEmCm/+Mlen3b3S0NQW2+6SlmKzje/nggPpgmG6Ln3MHbkPw1EhTislS5w6/hq3j5tPchbQXHOZ5g90ieRe/DvaPYmVAHMmQWMPbBesHAzIJ0=
gemspec: hourly_logger_rotator.gemspec
provider: rubygems
on:
repo: umbrellio/hourly_logger_rotator
branch: master
7 changes: 6 additions & 1 deletion hourly_logger_rotator.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "hourly_logger_rotator/version"

Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 2.3.8"

gem_version = HourlyLoggerRotator::VERSION
release_version = ENV["TRAVIS"] ? "#{gem_version}.#{ENV["TRAVIS_BUILD_NUMBER"]}" : gem_version

spec.name = "hourly_logger_rotator"
spec.version = HourlyLoggerRotator::VERSION
spec.version = release_version
spec.authors = ["Dmitry Gubitskiy"]
spec.email = ["[email protected]", "[email protected]"]

Expand Down

0 comments on commit 83a146d

Please sign in to comment.