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