debian-mirror-gitlab/vendor/gems/attr_encrypted/.gitlab-ci.yml

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

27 lines
865 B
YAML
Raw Normal View History

2022-10-11 01:57:18 +05:30
workflow:
rules:
- if: $CI_MERGE_REQUEST_ID
2022-11-25 23:54:43 +05:30
default:
image: "ruby:${RUBY_VERSION}"
rspec:
2022-10-11 01:57:18 +05:30
cache:
2022-11-25 23:54:43 +05:30
key: attr_encrypted-ruby
2022-10-11 01:57:18 +05:30
paths:
2022-11-25 23:54:43 +05:30
- vendor/gems/attr_encrypted/vendor/ruby
2022-10-11 01:57:18 +05:30
before_script:
2022-11-25 23:54:43 +05:30
- cd vendor/gems/attr_encrypted
- ruby -v # Print out ruby version for debugging
2022-10-11 01:57:18 +05:30
- gem install bundler --no-document # Bundler is not installed with the image
- bundle config set --local path 'vendor' # Install dependencies into ./vendor/ruby
2022-11-25 23:54:43 +05:30
- bundle config set with 'development' # This is set to 'deployment' otherwise
2022-10-11 01:57:18 +05:30
- bundle config set --local frozen 'true' # Disallow Gemfile.lock changes on CI
- bundle config # Show bundler configuration
- bundle install -j $(nproc)
script:
2022-11-25 23:54:43 +05:30
- bundle exec rake test
parallel:
matrix:
- RUBY_VERSION: ["2.7", "3.0"]