debian-mirror-gitlab/vendor/gems/devise-pbkdf2-encryptable/.gitlab-ci.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
876 B
YAML
Raw Normal View History

2022-08-13 15:12:31 +05:30
workflow:
rules:
- if: $CI_MERGE_REQUEST_ID
.rspec:
cache:
key: devise-pbkdf2-encryptable
paths:
- vendor/gems/devise-pbkdf2-encryptable/vendor/ruby
before_script:
- cd vendor/gems/devise-pbkdf2-encryptable
- 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'
2022-08-27 11:52:29 +05:30
- bundle config set --local frozen 'true' # Disallow Gemfile.lock changes on CI
- bundle config # Show bundler configuration
2022-08-13 15:12:31 +05:30
- bundle install -j $(nproc)
script:
- bundle exec rspec
rspec-2.7:
image: "ruby:2.7"
extends: .rspec
rspec-3.0:
image: "ruby:3.0"
extends: .rspec