.gitlab-ci.yml in asciidoctor-defmastership-1.0.5 vs .gitlab-ci.yml in asciidoctor-defmastership-1.0.6
- old
+ new
@@ -1,16 +1,31 @@
default:
- image: ruby:2.5
+ image: ruby:3.2
before_script:
- apt-get update
- ruby -v
- which ruby
- gem install bundler --no-document
- bundle install --jobs $(nproc) "${FLAGS[@]}"
-rspec:
+unit tests:
script:
- bundle exec rake spec
rubocop:
script:
- bundle exec rake rubocop
+
+unit tests ruby2.7:
+ image: ruby:2.7
+ script:
+ - bundle exec rake spec
+
+unit tests ruby3.0:
+ image: ruby:3.0
+ script:
+ - bundle exec rake spec
+
+unit tests ruby3.1:
+ image: ruby:3.1
+ script:
+ - bundle exec rake spec