Sha256: affa09605a05efa660a1358c6fa26e2310c7daf8cad7c20602938fa287c79241
Contents?: true
Size: 1.95 KB
Versions: 3
Compression:
Stored size: 1.95 KB
Contents
version: 2.1 workflows: test-workflow: jobs: - build: context: EdgePetrolApp jobs: build: docker: - image: circleci/ruby:2.7.1 environment: RUBYOPT: '-W0 -KU -E utf-8:utf-8' steps: - checkout - run: name: Install Cmake command: sudo apt-get install cmake - restore_cache: keys: - edge-bundle-{{ checksum "Gemfile.lock" }} - edge-bundle- - run: name: Bundle Check or Install command: bundle check --path vendor/bundle || bundle install --jobs=4 --retry=3 --path vendor/bundle - save_cache: key: edge-bundle-{{ checksum "Gemfile.lock" }} paths: - vendor/bundle - run: name: Lint code command: bundle exec rubocop - run: name: Execute Rspec Tests command: | mkdir -p /tmp/coverage bundle exec rspec - run: name: Store coverage report command: mv coverage/coverage.json /tmp/coverage/ - persist_to_workspace: root: /tmp/coverage paths: . - store_artifacts: path: /tmp/coverage destination: coverage - run: name: Run Danger command: bundle exec danger - run: name: Run gem build and push command: |- if [ "${CIRCLE_BRANCH}" == "master" ]; then git config --global user.email "bot@edgepetrol.com" git config --global user.name "EdgeBot" gem install gem-release --no-document gem bump --skip-ci git remote set-url --push origin https://EdgePetrolBot:${EDGE_GITHUB_API_TOKEN}@github.com/EdgePetrol/danger-rcov.git git push --set-upstream origin ${CIRCLE_BRANCH} GEM_VERSION=$(gem build | awk '/File/ {print $2}') curl -X POST https://rubygems.org/api/v1/gems -H "Authorization:${RUBY_GEMS_API_TOKEN}" -H "Content-Type: application/gem" --data-binary "@${GEM_VERSION}" fi
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
danger-rcov-2.0.2 | .circleci/config.yml |
danger-rcov-2.0.1 | .circleci/config.yml |
danger-rcov-1.0.5 | .circleci/config.yml |