steps: - name: ":rspec:" commands: - bundle install - dropdb ossorb-development --if-exists - dropdb ossorb-test --if-exists - createdb ossorb-development - createdb ossorb-test - RACK_ENV=test bundle exec rake db:migrate - bundle exec rspec artifact_paths: - coverage/* - name: ":codeclimate:" soft_fail: true plugins: - jobready/codeclimate-test-reporter#v2.0: artifact: "coverage/.resultset.json" input_type: simplecov prefix: '/var/lib/buildkite-agent/builds/enterprise-oss-bk-1/enterpriseoss/osso-rb/' - block: ":rubygems: Publish :red_button:" if: build.tag != null - name: "Push :rubygems:" commands: "./bin/publish" if: build.tag != null