summaryrefslogtreecommitdiffstats
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
parent3640a4c90a1df1955dac8741bde27c22cf9ad807 (diff)
Clean gitlab/codecov parts
-rw-r--r--.codecov.yml32
-rw-r--r--.gitlab-ci.yml22
-rw-r--r--CLI/ruby/.gitlab-ci.yml72
-rw-r--r--CLI/rust/.gitlab-ci.yml7
-rw-r--r--README.md2
5 files changed, 0 insertions, 135 deletions
diff --git a/.codecov.yml b/.codecov.yml
deleted file mode 100644
index 3deab45..0000000
--- a/.codecov.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-codecov:
- require_ci_to_pass: yes
-
-coverage:
- status:
- project:
- only_pulls: false
- default:
- target: 90%
- ruby:
- target: 95%
- flags:
- - ruby
- rust:
- target: 90%
- flags:
- - rust
-
-comment:
- layout: "reach,diff,flags,files,footer"
- behavior: default
- require_changes: no
-
-flags:
- ruby:
- paths:
- - CLI/ruby/
- carryforward: true
- rust:
- paths:
- - CLI/rust/
- carryforward: true
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
deleted file mode 100644
index 967ca12..0000000
--- a/.gitlab-ci.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-stages:
- - triggers
-
-ruby:
- stage: triggers
- trigger:
- include:
- - local: CLI/ruby/.gitlab-ci.yml
- strategy: depend
- rules:
- - changes:
- - CLI/ruby/**/*
-
-rust:
- stage: triggers
- trigger:
- include:
- - local: CLI/rust/.gitlab-ci.yml
- strategy: depend
- rules:
- - changes:
- - CLI/rust/**/*
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
diff --git a/CLI/rust/.gitlab-ci.yml b/CLI/rust/.gitlab-ci.yml
deleted file mode 100644
index 1957d72..0000000
--- a/CLI/rust/.gitlab-ci.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-workflow:
- rules:
- - changes:
- - CLI/rust/**/*
-
-test:
- script: echo 0
diff --git a/README.md b/README.md
index 2adb7a5..2dbe485 100644
--- a/README.md
+++ b/README.md
@@ -3,9 +3,7 @@
A repo that includes a different implementations for [Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life)
in the following languages
-[![pipeline status](https://gitlab.com/a14m/game-of-life/badges/master/pipeline.svg)](https://gitlab.com/a14m/game-of-life/-/commits/master)
[![license](https://img.shields.io/badge/license-MIT-brightgreenA)](https://gitlab.com/a14m/game-of-life/-/blob/master/LICENSE.md)
-[![codecov](https://codecov.io/gl/a14m/game-of-life/branch/master/graph/badge.svg?token=8KQ6LN5E6Z)](https://codecov.io/gl/a14m/game-of-life)
- [Ruby](./CLI/ruby) [![Gem Version](https://badge.fury.io/rb/terminal_game_of_life.svg)](https://badge.fury.io/rb/terminal_game_of_life)
- [Rust](./CLI/rust) WIP