gitlabhq/gitlabhq

View on GitHub
.gitlab/ci/setup.gitlab-ci.yml

Summary

Maintainability
Test Coverage
# Insurance in case a gem needed by one of our releases gets yanked from
# rubygems.org in the future.
cache gems:
  extends:
    - .default-tags
    - .default-retry
    - .default-cache
    - .default-before_script
    - .setup:rules:cache-gems
  stage: test
  needs:
    - job: setup-test-env
      artifacts: true
  variables:
    SETUP_DB: "false"
  script:
    - bundle package --all --all-platforms
  artifacts:
    paths:
      - vendor/cache

.minimal-job:
  extends:
    - .default-tags
    - .default-retry
  dependencies: []

gitlab_git_test:
  extends:
    - .minimal-job
    - .setup:rules:gitlab_git_test
  script:
    - spec/support/prepare-gitlab-git-test-for-commit --check-for-changes

no_ee_check:
  extends:
    - .minimal-job
    - .setup:rules:no_ee_check
  script:
    - scripts/no-ee-check