diff --git a/.travis.yml b/.travis.yml index 8ee2f2a..e513f55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,11 @@ env: global: secure: gGY+C54Cfp082o5Oaf6tZqzfOlXsWSMcVNvTpoOgMfJGsHo//d9t/si9Bn1pFaFyjJedW+IcC0pt+FcKVCDgnsUaL0Y0HT/ZsGkV8k7vv9F5nbHOde4nk189Sr2HtHR3wdr7KaMh2/DialisnqllxgzxA/wRLfHKsjqRsjWUw/VWL5E7Z734mzpTGE2mVJNRj02/cs0Y/izZgdi6wrt4lEZfxE3jS+QkJZHMjGNfcwvH26whU6oX1PiJ4o5xl0Rr8Q8xav3wbtTCcOJNPSeMkkiH5sSXuqrjI6kgwvjlByKhyg2Ws0GvZLxAfTml+Vo5po1uWsohdZJaJcEhd4GsGfbMZWCFuBP2mCE+gVmkkMeJxRKnWoi6NotgPmqG1JWlzGngDB/hJ4wuuh+swa0KJvZGiMEJ5P3GNydCybEPOsk1Ww+lUkXRHxD+/LW03EkxMd5LA3He/nYXz3pWCYA6qcFgrYMmq+3ozjSaQr+1d/Iu14Awv5+cwCltPfl5bERDno0jc0TdSs/7qplAL/efpjBsP7DkGE5r521gg8mIiXx509jU08i9S60SXiw0RBnYyjE5SzlsiOqaFdJxVygDGcDIAA/GTefLHO9i3SinZHFS6jr3Xi/vpOIc7Jz4W2Jmuqv+CJP4gspPoAxdWOE/QipTt0Jv4kCMf7dJwd9jaRc= rvm: -- 2.2.0 + - 2.2.0 +before_install: + - gem install bundler script: -- bundle exec rake + - bundle exec rake deploy: provider: rubygems api_key: @@ -15,5 +17,4 @@ deploy: tags: true repo: DeployGate/deploygate-cli after_deploy: -- 'curl -X POST --data-urlencode "payload={\"text\": \"Released a deploygate gem in - \"}" $SLACK_URL' + - 'curl -X POST --data-urlencode "payload={\"text\": \"Released a deploygate gem in \"}" $SLACK_URL' diff --git a/deploygate.gemspec b/deploygate.gemspec index 2fe6099..00f53c8 100644 --- a/deploygate.gemspec +++ b/deploygate.gemspec @@ -38,9 +38,7 @@ POST_INSTALL_MESSAGE spec.add_dependency 'workers' # ios build - spec.add_dependency 'gym', '~> 1.9.0' - spec.add_dependency 'spaceship', '~> 0.32.4' - spec.add_dependency 'sigh', '~> 1.10.4' + spec.add_dependency 'fastlane', '~> 2.1.1' spec.add_development_dependency "bundler" spec.add_development_dependency "rake" diff --git a/lib/deploygate/command_builder.rb b/lib/deploygate/command_builder.rb index a523bd2..7c8b3b8 100644 --- a/lib/deploygate/command_builder.rb +++ b/lib/deploygate/command_builder.rb @@ -172,6 +172,7 @@ def create_issue_url(command, error) def error_handling(command, error) STDERR.puts HighLine.color(I18n.t('command_builder.error_handling.message', message: error.message), HighLine::RED) + return if ENV['CI'] # When run ci server return if error.kind_of?(DeployGate::NotIssueError) puts '' if HighLine.agree(I18n.t('command_builder.error_handling.agree')) {|q| q.default = "n"} diff --git a/lib/deploygate/version.rb b/lib/deploygate/version.rb index dbd9a4a..0121cb9 100644 --- a/lib/deploygate/version.rb +++ b/lib/deploygate/version.rb @@ -1,3 +1,3 @@ module DeployGate - VERSION = "0.4.1" + VERSION = '0.5.0' end