From 9ca5a4d472f6d6b147d5cf8b3f1181d5d9e7a044 Mon Sep 17 00:00:00 2001 From: a14m Date: Wed, 16 Dec 2020 12:18:37 +0100 Subject: Move the build to be ruby specific --- .builds/ruby.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .builds/ruby.yml (limited to '.builds/ruby.yml') 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 -- cgit v1.2.3