From 8878c671e1cd81e06e8984a4f13921440c7cab7d Mon Sep 17 00:00:00 2001 From: a14m Date: Tue, 15 Dec 2020 21:54:04 +0100 Subject: Clean gitlab/codecov parts --- CLI/ruby/.gitlab-ci.yml | 72 ------------------------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 CLI/ruby/.gitlab-ci.yml (limited to 'CLI/ruby') 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 -- cgit v1.2.3