Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gems/omniauth-gitlab/.gitlab-ci.yml')
-rw-r--r--vendor/gems/omniauth-gitlab/.gitlab-ci.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/vendor/gems/omniauth-gitlab/.gitlab-ci.yml b/vendor/gems/omniauth-gitlab/.gitlab-ci.yml
new file mode 100644
index 00000000000..ad9545e2998
--- /dev/null
+++ b/vendor/gems/omniauth-gitlab/.gitlab-ci.yml
@@ -0,0 +1,30 @@
+workflow:
+ rules:
+ - if: $CI_MERGE_REQUEST_ID
+
+.rspec:
+ cache:
+ key: omniauth-gitlab-ruby
+ paths:
+ - vendor/gems/omniauth-gitlab/vendor/ruby
+ before_script:
+ - cd vendor/gems/omniauth-gitlab
+ - 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 \ No newline at end of file