Sha256: 772d1fb9643be7fcfdca954f0062e306e7118e3a7592654432de909deb75f063

Contents?: true

Size: 2 KB

Versions: 1

Compression:

Stored size: 2 KB

Contents

aliases:
  - &save-mac-bundler-cache
    key: bundle_mac
    paths:
      - vendor/bundle

  - &restore-mac-bundler-cache
    key: bundle_mac

  - &bundler-environment
    BUNDLE_JOBS: 3
    BUNDLE_RETRY: 3
    BUNDLE_PATH: vendor/bundle

version: 2
jobs:

  swift:
    macos:
      xcode: "12.1.0"
    environment: *bundler-environment
    steps:
      - checkout
      - restore_cache: *restore-mac-bundler-cache
      - run: echo 'chruby 2.6' >> ~/.bash_profile
      - run: bundle install
      - run: git submodule update --init --recursive
      - run: bundle exec rake swift_spec
      - save_cache: *save-mac-bundler-cache

  objc:
    macos:
      xcode: "12.1.0"
    environment: *bundler-environment
    steps:
      - checkout
      - restore_cache: *restore-mac-bundler-cache
      - run: echo 'chruby 2.6' >> ~/.bash_profile
      - run: bundle install
      - run: git submodule update --init --recursive
      - run: bundle exec rake objc_spec
      - save_cache: *save-mac-bundler-cache

  cocoapods:
    macos:
      xcode: "12.1.0"
    environment: *bundler-environment
    steps:
      - checkout
      - restore_cache:
          key: cocoapods
      - restore_cache: *restore-mac-bundler-cache
      - run: echo 'chruby 2.6' >> ~/.bash_profile
      - run: bundle install
      - run: git submodule update --init --recursive
      - run: bundle exec rake cocoapods_spec
      - save_cache:
          key: cocoapods
          paths:
            - ~/.cocoapods
      - save_cache: *save-mac-bundler-cache

  danger_and_rubocop:
    docker:
      - image: circleci/ruby:2.4-node
        environment: *bundler-environment
    steps:
      - checkout
      - restore_cache:
          key: bundle_linux
      - run: bundle install
      - run: bundle exec danger --verbose || true
      - run: bundle exec rake rubocop
      - save_cache:
          key: bundle_linux
          paths:
            - vendor/bundle

workflows:
  version: 2
  workflow:
    jobs:
      - swift
      - objc
      - cocoapods
      - danger_and_rubocop

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jazzy-0.13.6 .circleci/config.yml