albertyw/apple_vpp

View on GitHub
.drone.yml

Summary

Maintainability
Test Coverage
kind: pipeline
type: docker
name: test

steps:
  - name: Test Ruby
    image: ruby:3.0.1
    commands:
      - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > "${HOME}/bin/cc-test-reporter"
      - chmod +x "${HOME}/bin/cc-test-reporter"
      - bundle install
      - cc-test-reporter before-build
      - bundle exec rake
      - cc-test-reporter after-build --exit-code $? -t simplecov
    environment:
      CC_TEST_REPORTER_ID: 927e4bc970f728c9ae25973c8ee5e062fe26ee8166531472e7b3d23df1f85194