Sha256: 3e2a51c3f4434720313e8334d3a64db9c80b8a840d60373c027bc7fb0975522d

Contents?: true

Size: 1.51 KB

Versions: 16

Compression:

Stored size: 1.51 KB

Contents

build_job: &build_job
  working_directory: ~/wice_grid
  steps:
    - checkout

    # Install PhantomJS (if not found in cache)
    - run:
        name: Install phantomjs
        command: |
          if ! [ $(which phantomjs) ]; then
          sudo curl --output /usr/local/bin/phantomjs https://s3.amazonaws.com/circle-downloads/phantomjs-2.1.1
          fi

          sudo chmod ugo+x /usr/local/bin/phantomjs

    # Restore Cached Dependencies
    - type: cache-restore
      name: Restore bundle cache
      key: wice_grid-{{ checksum "Gemfile.lock" }}

    # Bundle install dependencies
    - run: bundle install --path vendor/bundle

    # Install Appraisal gemfiles
    - run: bundle exec appraisal install

    # Cache Dependencies
    - type: cache-save
      name: Store bundle cache
      key: wice_grid-{{ checksum "Gemfile.lock" }}
      paths:
      - vendor/bundle

    # Run the tests
    - run: bundle exec appraisal rspec

    - store_artifacts:
        path: spec/support/test_app/tmp/capybara
        destination: screenshots

version: 2
jobs:
  build-ruby24:
    <<: *build_job
    docker:
      - image: circleci/ruby:2.4
        environment:
          RAILS_ENV: test
  build-ruby25:
    <<: *build_job
    docker:
      - image: circleci/ruby:2.5
        environment:
          RAILS_ENV: test
  build-ruby26:
    <<: *build_job
    docker:
      - image: circleci/ruby:2.6
        environment:
          RAILS_ENV: test

workflows:
  version: 2
  build:
    jobs:
    - build-ruby24
    - build-ruby25
    - build-ruby26

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
wice_grid-7.1.4 .circleci/config.yml
wice_grid-7.1.3 .circleci/config.yml
wice_grid-7.1.2 .circleci/config.yml
wice_grid-7.1.1 .circleci/config.yml
wice_grid-7.1.0 .circleci/config.yml
wice_grid-6.1.3 .circleci/config.yml
wice_grid-6.1.2 .circleci/config.yml
wice_grid-6.1.1 .circleci/config.yml
wice_grid-6.1.0 .circleci/config.yml
pwice_grid-7.0.0 .circleci/config.yml
pwice_grid-6.1.2 .circleci/config.yml
pwice_grid-6.1.1 .circleci/config.yml
pwice_grid-6.1.0 .circleci/config.yml
pwice_grid-5.0.2 .circleci/config.yml
pwice_grid-5.0.1 .circleci/config.yml
pwice_grid-5.0.0 .circleci/config.yml