summaryrefslogtreecommitdiff
path: root/vendor/gems/omniauth_crowd/.gitlab-ci.yml
blob: 98e686db4e3dda10065cb20913256b493e2e9998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
workflow:
  rules:
    - if: $CI_MERGE_REQUEST_ID

.rspec:
  cache:
    key: omniauth-gitlab-ruby
    paths:
      - vendor/gems/omniauth_crowd/vendor/ruby
  before_script:
    - cd vendor/gems/omniauth_crowd
    - ruby -v                                   # Print out ruby version for debugging
    - gem install bundler --no-document         # Bundler is not installed with the image
    - bundle config set --local path 'vendor'   # Install dependencies into ./vendor/ruby
    - bundle config set with 'development'
    - bundle install -j $(nproc)
  script:
    - bundle exec rspec

rspec-2.6:
  image: "ruby:2.6"
  extends: .rspec

rspec-2.7:
  image: "ruby:2.7"
  extends: .rspec

rspec-3.0:
  image: "ruby:3.0"
  extends: .rspec