Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix Ruby SDK
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Olofsson
Matrix Ruby SDK
Commits
f452e59a
Commit
f452e59a
authored
6 years ago
by
Alexander Olofsson
Browse files
Options
Downloads
Patches
Plain Diff
Fix CI against modern gem version
parent
846c7bb0
No related branches found
No related tags found
No related merge requests found
Pipeline
#2446
failed
6 years ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-6
6 additions, 6 deletions
.gitlab-ci.yml
with
6 additions
and
6 deletions
.gitlab-ci.yml
+
6
−
6
View file @
f452e59a
...
@@ -7,20 +7,20 @@ cache:
...
@@ -7,20 +7,20 @@ cache:
-
vendor/ruby
-
vendor/ruby
before_script
:
before_script
:
-
gem install bundler -
-no-ri --no-rdoc
-
gem install bundler -
N
-
bundle install -j $(nproc) --path vendor
-
bundle install -j $(nproc) --path vendor
rubocop
:
rubocop
:
before_script
:
[]
before_script
:
[]
script
:
script
:
-
gem install rubocop -
-no-ri --no-rdoc
-
gem install rubocop -
N
-
rubocop lib
-
rubocop lib
test
:
test
:
script
:
script
:
# Remove deprecation warning for ci_reporter
# Remove deprecation warning for ci_reporter
-
sed -e 's/File.exists?/File.exist?/' -i vendor/ruby/*/gems/ci_reporter-*/lib/ci/reporter/report_manager.rb
-
sed -e 's/File.exists?/File.exist?/' -i
'
vendor/ruby/*/gems/ci_reporter-*/lib/ci/reporter/report_manager.rb
'
-
GENERATE_REPORTS=true CI_REPORTS=reports bundle exec rake test
-
GENERATE_REPORTS=true CI_REPORTS=reports bundle exec rake test
artifacts
:
artifacts
:
reports
:
reports
:
junit
:
"
reports/TEST-*.xml"
junit
:
"
reports/TEST-*.xml"
...
@@ -29,7 +29,7 @@ pages:
...
@@ -29,7 +29,7 @@ pages:
stage
:
deploy
stage
:
deploy
before_script
:
[]
before_script
:
[]
script
:
script
:
-
gem install yard
-
gem install yard
-N
-
yard doc -o public/
-
yard doc -o public/
artifacts
:
artifacts
:
paths
:
paths
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment