summaryrefslogtreecommitdiffstats
path: root/.builds
diff options
context:
space:
mode:
Diffstat (limited to '.builds')
-rw-r--r--.builds/ruby.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.builds/ruby.yml b/.builds/ruby.yml
new file mode 100644
index 0000000..eade737
--- /dev/null
+++ b/.builds/ruby.yml
@@ -0,0 +1,22 @@
+image: alpine/latest
+
+packages:
+ - ruby
+ - ruby-dev
+ - ruby-bundler
+
+sources:
+ - https://git.sr.ht/~a14m/game-of-life
+
+tasks:
+ - build: |
+ cd game-of-life/CLI/ruby
+ bundle install -j $(nproc)
+
+ - test: |
+ cd game-of-life/CLI/ruby
+ bundle exec rspec --format progress
+
+ - lint: |
+ cd game-of-life/CLI/ruby
+ bundle exec rubocop