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.