image: ruby:2.4.0 pipelines: branches: master: - step: caches: - bundler script: - gem install bundle rubocop - bundle install - rubocop - rake - step: name: Deploy to test gem server deployment: production trigger: manual script: - gem install bundle geminabox - bundle install - gem build legion-exceptions.gemspec - gem inabox legion*.gem -g https://www.rubygems.org -o default: - step: caches: - bundler script: - gem install bundle rubocop - bundle install - rubocop - rake definitions: caches: bundler: vendor/bundle