Sha256: 6384d2b8c51a333d94678a82dce45cef3dbc7496facbd65a7632956c02921b9a

Contents?: true

Size: 1.61 KB

Versions: 6

Compression:

Stored size: 1.61 KB

Contents

# Ruby CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
#
version: 2
jobs:
  build:
    docker:
      # specify the version you desire here
       - image: circleci/ruby:2.6.0-node-browsers

    working_directory: ~/repo

    steps:
      - checkout

      # Install bundler
      - run:
          name: install bundler
          command: gem install bundler

      # Download and cache dependencies
      - restore_cache:
          keys:
          - v1-dependencies-{{ checksum "Gemfile.lock" }}
          # fallback to using the latest cache if no exact match is found
          - v1-dependencies-

      - run:
          name: install dependencies
          command: |
            bundle install --jobs=4 --retry=3 --path vendor/bundle

      - save_cache:
          paths:
            - ./vendor/bundle
          key: v1-dependencies-{{ checksum "Gemfile.lock" }}

      # run tests!
      - run:
          name: run tests
          command: bundle exec rake
  deploy:
    docker:
      - image: circleci/ruby:2.6.0-node-browsers

    working_directory: ~/repo

    steps:
      - checkout
      - run:
          name: Setup Rubygems
          command: bash .circleci/setup-rubygems.sh

      - run:
          name: Publish to Rubygems
          command: |
            gem build marketplace_opportunity_scraper.gemspec
            gem push "marketplace_opportunity_scraper-$(git describe --tags).gem"
workflows:
  version: 2
  test-deploy:
    jobs:
      - build
      - deploy:
          filters:
            tags:
              only: /.*/
            branches:
              ignore: /.*/

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
marketplace_opportunity_scraper-0.1.2 .circleci/config.yml
marketplace_opportunity_scraper-0.1.1 .circleci/config.yml
marketplace_opportunity_scraper-0.1.0 .circleci/config.yml
marketplace_opportunity_scraper-0.0.3 .circleci/config.yml
marketplace_opportunity_scraper-0.0.2 .circleci/config.yml
marketplace_opportunity_scraper-0.0.1 .circleci/config.yml