Skip to content
Snippets Groups Projects
Commit f452e59a authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Fix CI against modern gem version

parent 846c7bb0
No related branches found
No related tags found
No related merge requests found
Pipeline #2446 failed
...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment