diff options
| -rw-r--r-- | .codecov.yml | 32 | ||||
| -rw-r--r-- | .gitlab-ci.yml | 22 | ||||
| -rw-r--r-- | CLI/ruby/.gitlab-ci.yml | 72 | ||||
| -rw-r--r-- | CLI/rust/.gitlab-ci.yml | 7 | ||||
| -rw-r--r-- | README.md | 2 |
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 @@ -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 -[](https://gitlab.com/a14m/game-of-life/-/commits/master) [](https://gitlab.com/a14m/game-of-life/-/blob/master/LICENSE.md) -[](https://codecov.io/gl/a14m/game-of-life) - [Ruby](./CLI/ruby) [](https://badge.fury.io/rb/terminal_game_of_life) - [Rust](./CLI/rust) WIP |
