.gitlab-ci.yml in epub-maker-0.0.8 vs .gitlab-ci.yml in epub-maker-0.0.9
- old
+ new
@@ -3,22 +3,36 @@
- which ruby
- apt -qq update -y
- apt -qq install -y default-jre
- gem install bundler --no-document
- bundle install --jobs=$(nproc) --path=deps --quiet
+ - bundle clean
-cache:
- paths:
- - deps/
-
-test:2.2:
- image: ruby:2.2
- script:
- - bundle exec rake test
-
test:2.3:
image: ruby:2.3
script: bundle exec rake test
+ except:
+ - tags
+ cache:
+ key: ruby:2.3
+ paths:
+ - deps
test:2.4:
image: ruby:2.4
script: bundle exec rake test
+ except:
+ - tags
+ cache:
+ key: ruby:2.4
+ paths:
+ - deps
+
+test:2.5:
+ image: ruby:2.5
+ script: bundle exec rake test
+ except:
+ - tags
+ cache:
+ key: ruby:2.5
+ paths:
+ - deps