From 4a740a627e99630701d2d07a52f2fc821fdab487 Mon Sep 17 00:00:00 2001 From: Alberto Restifo Date: Sun, 19 Apr 2020 13:52:13 +0200 Subject: [PATCH] Add build config --- .build.yml | 15 +++++++++++++++ .travis.yml | 6 ------ 2 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 .build.yml delete mode 100644 .travis.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..a9be8c8 --- /dev/null +++ b/.build.yml @@ -0,0 +1,15 @@ +image: alpine/edge + +packages: + - crystal + +sources: + - https://git.sr.ht/~arestifo/crystal-cbor + +tasks: + - lint: | + cd crystal-cbor + crystal tool format --chec + - test: | + cd crystal-cbor + crystal spec diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 765f0e9..0000000 --- a/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: crystal - -# Uncomment the following if you'd like Travis to run specs and check code formatting -# script: -# - crystal spec -# - crystal tool format --check