Sha256: 1993aec5d090780d8eba0871cc2fae057a8ee62cd68a56d2a6654f7f2a3d8d03
Contents?: true
Size: 1.41 KB
Versions: 4
Compression:
Stored size: 1.41 KB
Contents
image: ruby:2.7.4 stages: - lint - test - analysis cache: paths: - vendor/ruby .install_ruby_gems: &install_ruby_gems - gem install bundler -v 2.2.26 - bundle install --path vendor before_script: - *install_ruby_gems rubocop: stage: lint script: - bundle exec rubocop --format progress --format json --out rubocop.json artifacts: paths: - rubocop.json except: - schedules bundler-audit: stage: lint before_script: - *install_ruby_gems - gem install bundler-audit - bundle audit --update script: - bundle audit allow_failure: true rspec: stage: test script: - bundle exec rspec --format progress --format RspecJunitFormatter --out rspec.xml artifacts: paths: - rspec.xml - coverage reports: junit: rspec.xml except: - schedules sonarqube: stage: analysis image: name: sonarsource/sonar-scanner-cli entrypoint: [""] variables: GIT_DEPTH: 0 before_script: [] script: - sonar-scanner -Dsonar.projectKey=Bankai -Dsonar.sourceEncoding=UTF-8 -Dsonar.qualitygate.wait=true -Dsonar.ruby.rubocop.reportPaths=rubocop.json -Dsonar.ruby.coverage.reportPaths=coverage/.resultset.json -Dsonar.exclusions=vendor/ruby/**/* -Dsonar.coverage.exclusions=spec/**/* -Dsonar.projectVersion=$CI_COMMIT_SHORT_SHA -Dsonar.sources=. allow_failure: true only: - master
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bankai-0.13.1 | .gitlab-ci.yml |
bankai-0.13.0 | .gitlab-ci.yml |
bankai-0.12.1 | .gitlab-ci.yml |
bankai-0.12.0 | .gitlab-ci.yml |