.gitlab-ci.yml in selfies-1.3.1 vs .gitlab-ci.yml in selfies-1.4.0
- old
+ new
@@ -8,11 +8,26 @@
- ruby -v
- gem install bundler --no-ri --no-rdoc
- bundle install -j $(nproc) --path vendor
rspec:
+ stage: test
script:
- - rspec spec
+ - rspec
+ artifacts:
+ paths:
+ - coverage/
rubocop:
script:
- - bundle exec rubocop
\ No newline at end of file
+ - bundle exec rubocop
+
+pages:
+ stage: deploy
+ dependencies:
+ - rspec
+ script:
+ - mv coverage/ public/
+ artifacts:
+ paths:
+ - public
+ expire_in: 30 days