Sha256: d1c5307149cd02fdf968d7c1a76dc609cb638adae8efa229ca4c45f7e6de75ed

Contents?: true

Size: 1.93 KB

Versions: 2

Compression:

Stored size: 1.93 KB

Contents

version: v1.0
name: mongoid-embedded-errors
agent:
  machine:
    type: e1-standard-2
    os_image: ubuntu1804

blocks:
  - name: Code Climate
    task:
      jobs:
      - name: Code Climate
        commands: 
          - checkout 
          - cache restore gems-$SEMAPHORE_GIT_BRANCH-$(checksum Gemfile.lock),gems-$SEMAPHORE_GIT_BRANCH,gems-master
          - bundle install --path vendor/bundle
          - cache store gems-$SEMAPHORE_GIT_BRANCH-$(checksum Gemfile.lock) vendor/bundle
          - docker run   --interactive --tty --rm   --env CODECLIMATE_CODE="$PWD"  --volume "$PWD":/code   --volume /tmp/cc:/tmp/cc   --volume /var/run/docker.sock:/var/run/docker.sock   codeclimate/codeclimate analyze

  - name: Unit tests
    task:
      jobs:
      - name: Appraisal
        commands:
          - checkout 
          - cache restore gems-$SEMAPHORE_GIT_BRANCH-$(checksum Gemfile.lock),gems-$SEMAPHORE_GIT_BRANCH,gems-master
          - bundle install --path vendor/bundle
          - cache store gems-$SEMAPHORE_GIT_BRANCH-$(checksum Gemfile.lock) vendor/bundle
          - cache restore appraisal-$SEMAPHORE_GIT_BRANCH-$(checksum gemfiles/*.gemfile.lock),appraisal-$SEMAPHORE_GIT_BRANCH,appraisal-master
          - bundle exec appraisal
          - cache store appraisal-$SEMAPHORE_GIT_BRANCH-$(checksum gemfiles/*.gemfile.lock) vendor/bundle
          - sem-service start mongodb
          - bundle exec appraisal rake test

  - name: Mutant
    task:
      jobs:
      - name: Mutant
        commands:
          - checkout 
          - cache restore gems-$SEMAPHORE_GIT_BRANCH-$(checksum Gemfile.lock),gems-$SEMAPHORE_GIT_BRANCH,gems-master
          - bundle install --path vendor/bundle
          - cache store gems-$SEMAPHORE_GIT_BRANCH-$(checksum Gemfile.lock) vendor/bundle
          - sem-service start mongodb
          - MUTANT=true bundle exec mutant --since "$SEMAPHORE_GIT_SHA~1" --include lib --require mongoid --use rspec "Mongoid::EmbeddedErrors*"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongoid-embedded-errors-4.0.0 .semaphore/semaphore.yml
mongoid-embedded-errors-3.0.1 .semaphore/semaphore.yml