From 492f7f776648527c22c7148f9a75077cdca1bac7 Mon Sep 17 00:00:00 2001 From: Tino Breddin Date: Tue, 2 Apr 2019 16:05:09 +0200 Subject: Store artifacts on Circle CI runs (#704) --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.circleci/config.yml') diff --git a/.circleci/config.yml b/.circleci/config.yml index 6cf1061..ca75335 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,6 +15,12 @@ jobs: steps: - checkout - rebar3/ct + # Delete OTP files which don't need to be stored + - run: | + find _build/test/logs -type d -and \( -path "*/erts-*" -or -path "*/kernel-*" -or -path "*/stdlib-*" \) -exec rm -rf '{}' \+ || true + find _build/test/logs -type f -name "*.beam" -exec rm -rf '{}' \+ || true + - store_artifacts: + path: _build/test/logs workflows: build-test: -- cgit v1.2.3