diff options
Diffstat (limited to 'vendor/gems/omniauth-google-oauth2/.gitlab-ci.yml')
-rw-r--r-- | vendor/gems/omniauth-google-oauth2/.gitlab-ci.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vendor/gems/omniauth-google-oauth2/.gitlab-ci.yml b/vendor/gems/omniauth-google-oauth2/.gitlab-ci.yml new file mode 100644 index 00000000000..dbc4a7c16b1 --- /dev/null +++ b/vendor/gems/omniauth-google-oauth2/.gitlab-ci.yml @@ -0,0 +1,28 @@ +workflow: + rules: + - if: $CI_MERGE_REQUEST_ID + +.rspec: + cache: + key: omniauth-google-oauth2 + paths: + - vendor/gems/omniauth-google-oauth2/vendor/ruby + before_script: + - cd vendor/gems/omniauth-google-oauth2 + - 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 config set --local frozen 'true' # Disallow Gemfile.lock changes on CI + - bundle config # Show bundler configuration + - 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 |