From 9c2f906813573d3c78d0161c28720d87aea5cb16 Mon Sep 17 00:00:00 2001 From: Valeri Filipov Date: Wed, 20 Mar 2019 10:26:42 +0200 Subject: [PATCH] Initial CircleCi configuration --- .circleci/config.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..148e473 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,34 @@ +version: 2.1 + +executors: + aebuilder: + docker: + - image: aeternity/builder + user: builder + working_directory: ~/src + +jobs: + build: + executor: aebuilder + steps: + - checkout + - restore_cache: + keys: + - dialyzer-cache-v1-{{ .Branch }}-{{ .Revision }} + - dialyzer-cache-v1-{{ .Branch }}- + - dialyzer-cache-v1- + - run: + name: Static Analysis + command: make dialyzer + - run: + name: Eunit + command: make eunit + - run: + name: Common Tests + command: make ct + - save_cache: + key: dialyzer-cache-v1-{{ .Branch }}-{{ .Revision }} + paths: + - _build/default/rebar3_20.3.8_plt + - store_artifacts: + path: _build/test/logs