Sha256: 2dd0e78e50d67cb36f777173e9aec0445d5f268d68ec485a94f7ccf1c9d12bf8

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 KB

Contents

version: 2.1
orbs:
  samvera: samvera/circleci-orb@0
jobs:
  bundle_lint_test:
    parameters:
      ruby_version:
        type: string
      project:
        type: string
      bundler_version:
        type: string
        default: 2.0.1
    executor:
      name: 'samvera/ruby_fcrepo_solr'
      ruby_version: << parameters.ruby_version >>
    steps:
      - samvera/cached_checkout
      - run:
          name: Install dependencies
          command: |
            sudo apt-get update
            sudo apt-get install ghostscript ufraw-batch libpng-dev imagemagick ffmpeg libreoffice
      - run:
          name: Install Kakadu
          command: |
            if [ ! -d "kakadu" ]; then
              mkdir ~/downloads
              wget http://kakadusoftware.com/wp-content/uploads/2014/06/KDU77_Demo_Apps_for_Linux-x86-64_150710.zip -O ~/downloads/kakadu.zip
              unzip ~/downloads/kakadu.zip
              mv KDU77_Demo_Apps_for_Linux-x86-64_150710 kakadu
            fi
            sudo cp kakadu/*.so /usr/lib
            sudo cp kakadu/* /usr/bin

      - samvera/bundle_for_gem:
          ruby_version: << parameters.ruby_version >>
          bundler_version: << parameters.bundler_version >>
          project: << parameters.project >>
          cache_version: '2'

      - samvera/install_solr_core

      - samvera/rubocop

      - samvera/parallel_rspec

workflows:
  ci:
    jobs:
      - bundle_lint_test:
          name: ruby2-4-6
          ruby_version: 2.4.6
          project: hydra-derivatives
      - bundle_lint_test:
          name: ruby2-5-5
          ruby_version: 2.5.5
          project: hydra-derivatives
      - bundle_lint_test:
          name: ruby2-6-3
          ruby_version: 2.6.3
          project: hydra-derivatives

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hydra-derivatives-3.5.0 .circleci/config.yml