From a5ba050c3107ab5022bf0785f2b8fce9a3dff5a4 Mon Sep 17 00:00:00 2001 From: Marc Nijdam Date: Thu, 18 Apr 2019 14:43:38 -0700 Subject: [PATCH] Add buildkite --- .buildkite/pipeline.yml | 8 ++++++++ Makefile | 2 ++ README.md | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .buildkite/pipeline.yml diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml new file mode 100644 index 0000000..b1d04b1 --- /dev/null +++ b/.buildkite/pipeline.yml @@ -0,0 +1,8 @@ +steps: + - commands: + - ". $HOME/.asdf/asdf.sh" + - "asdf local erlang 21.3" + - "make ci" + name: ":hammer: build" + agents: + queue: "erlang" diff --git a/Makefile b/Makefile index c69e09c..029d04d 100644 --- a/Makefile +++ b/Makefile @@ -17,3 +17,5 @@ test: compile typecheck: $(REBAR) dialyzer +ci: + $(REBAR) dialyzer && $(REBAR) as test do eunit -c, ct -c, cover -v diff --git a/README.md b/README.md index ea18c0e..4eee1c8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ erlang_hbbft ===== -[![Build Status](https://travis-ci.org/helium/erlang-hbbft.svg?branch=master)](https://travis-ci.org/helium/erlang-hbbft) +[![Build Status](https://badge.buildkite.com/e794bf0f28123f75870633e8f4a9fda955cbe19e981d12a5d3.svg?branch=master)](https://buildkite.com/helium/hbbft) Erlang implementation of HoneyBadgerBFT's protocols.