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: test script: - gem install bundle geminabox - bundle install - gem build legion-logging.gemspec - gem inabox legion-logging*.gem -g https://gems.whonodes.org/ -o default: - step: caches: - bundler script: - gem install bundle rubocop - bundle install - rubocop - rake definitions: caches: bundler: vendor/bundle