Sha256: fc026a815a73d0cc07da86f4f17dd36f22b4a30757382220aca997cf3f50c4a7

Contents?: true

Size: 726 Bytes

Versions: 1

Compression:

Stored size: 726 Bytes

Contents

stages:
  - build
  - analysis
  - test

variables: &vars
  LANG: en_US.UTF-8
  OSU_TERM: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
  GIT_STRATEGY: none

osu_term:
  stage: build
  image: docker:latest
  tags: [build]
  script: docker build -t $OSU_TERM . && docker push $OSU_TERM
  variables:
    <<: *vars
    GIT_STRATEGY: clone

.analysis: &analysis
  stage: analysis
  image: $OSU_TERM
  tags: [test]
  before_script:
    - cd /app

bundle-audit:
  <<: *analysis
  script: bundle-audit check --update

rubocop:
  <<: *analysis
  except: [schedules]
  script: rubocop

rubycritic:
  <<: *analysis
  script: rubycritic lib --no-browser -s 80

rspec:
  stage: test
  image: $OSU_TERM
  tags: [test]
  script: bundle exec rspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
osu_term-1.0.0 .gitlab-ci.yml