Sha256: f8095ba1086cbebe3aa69004b053bcdb88148e6d341f45a79c1b749b32ca1a1f

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

version: 2.1

orbs:
  ruby: circleci/ruby@1.1.2

jobs:
  test:
    parameters:
      version:
        type: string
    executor:
      name: ruby/default
      tag: << parameters.version >>
    steps:
      - checkout
      - run:
          name: Generate Gemfile.lock
          command: bundle lock
      - ruby/install-deps
      - run:
          name: Install SVGO
          command: sudo npm install -g svgo@1.3.2
      - run:
          name: Install CodeClimate test reporter
          command: |
            curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
            chmod +x ./cc-test-reporter
            ./cc-test-reporter before-build
      - run:
          name: Run CI script
          command: bin/ci
      - run:
          name: Upload coverage report to CodeClimate
          command: ./cc-test-reporter after-build

workflows:
  version: 2
  default:
    jobs:
      - test:
          matrix:
            parameters:
              version:
                - "2.5-node"
                - "2.6-node"
                - "2.7-node"
                - "3.0-node"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
svgeez-4.0.0 .circleci/config.yml