From e13113b3729a9258083535383b5b5acf0c6fcb40 Mon Sep 17 00:00:00 2001 From: a14m Date: Tue, 15 Dec 2020 22:25:20 +0100 Subject: Add the most basic build --- .build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .build.yml 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 -- cgit v1.2.3