aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTino Breddin <[email protected]>2019-04-02 16:05:09 +0200
committerTristan Sloughter <[email protected]>2019-04-02 08:05:09 -0600
commit492f7f776648527c22c7148f9a75077cdca1bac7 (patch)
tree90adb259e2275d3e812b95eecb22c3d8c18c332c
parentcecbe865bcd025e3d8e08d6e6070cb03d47e66e1 (diff)
downloadrelx-492f7f776648527c22c7148f9a75077cdca1bac7.tar.gz
relx-492f7f776648527c22c7148f9a75077cdca1bac7.tar.bz2
relx-492f7f776648527c22c7148f9a75077cdca1bac7.zip
Store artifacts on Circle CI runs (#704)
-rw-r--r--.circleci/config.yml6
1 files changed, 6 insertions, 0 deletions
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: