summaryrefslogtreecommitdiffstats
path: root/CLI/ruby
diff options
context:
space:
mode:
authora14m <[email protected]>2020-12-15 21:54:04 +0100
committera14m <[email protected]>2020-12-15 21:54:04 +0100
commit8878c671e1cd81e06e8984a4f13921440c7cab7d (patch)
treeacb67f80a0fc4fb294e7b515f20b633d06dbf561 /CLI/ruby
parent3640a4c90a1df1955dac8741bde27c22cf9ad807 (diff)
Clean gitlab/codecov parts
Diffstat (limited to 'CLI/ruby')
-rw-r--r--CLI/ruby/.gitlab-ci.yml72
1 files changed, 0 insertions, 72 deletions
diff --git a/CLI/ruby/.gitlab-ci.yml b/CLI/ruby/.gitlab-ci.yml
deleted file mode 100644
index 5a73836..0000000
--- a/CLI/ruby/.gitlab-ci.yml
+++ /dev/null
@@ -1,72 +0,0 @@
-image: ruby:2.7
-
-workflow:
- rules:
- - changes:
- - CLI/ruby/**/*
-
-variables:
- BUNDLE_PATH: .bundle/vendor
-
-cache: &cache
- policy: pull-push
- key:
- files:
- - Gemfile.lock
- paths:
- - CLI/ruby/.bundle/vendor
-
-before_script:
- - cd CLI/ruby
- - gem update --system
- - bundle update --bundler
- - bundle install -j $(nproc)
-
-test:2.7:
- image: ruby:2.7
- stage: test
- cache:
- <<: *cache
- policy: pull
- script:
- - bundle exec rspec --format progress
-
-test:2.6:
- image: ruby:2.6
- stage: test
- cache:
- <<: *cache
- policy: pull
- script:
- - bundle exec rspec --format progress
-
-test:2.5:
- image: ruby:2.5
- stage: test
- cache:
- <<: *cache
- policy: pull
- script:
- - bundle exec rspec --format progress
-
-lint:
- stage: test
- cache:
- <<: *cache
- policy: pull
- script:
- - bundle exec rubocop
-
-release:
- stage: deploy
- needs: ["test:2.7", "test:2.6", "test:2.5", lint]
- rules:
- - if: $CI_COMMIT_TAG =~ /^ruby\/v.*$/
- cache:
- <<: *cache
- policy: pull
- script:
- - bundle exec rake clean
- - bundle exec rake clobber
- - bundle exec rake build
- - bundle exec gem push pkg/terminal_game_of_life-*.gem