Skip to content

Commit

Permalink
[circleci] cache perl dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mikz committed Dec 12, 2017
1 parent 92b3efd commit b1ba5ae
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,20 @@ jobs:
- lua_modules
- run: mkdir -p tmp/junit
- run: $(make rover) exec make busted
- restore_cache:
keys:
- apicast-cpanm-{{ arch }}-{{ checksum "gateway/cpanfile" }}
- apicast-cpanm-{{ arch }}-{{ .Branch }}
- apicast-cpanm-{{ arch }}-master
- run:
command: /usr/libexec/s2i/entrypoint make prove
environment:
JUNIT_OUTPUT_FILE: tmp/junit/prove.xml
HARNESS: TAP::Harness::JUnit
- save_cache:
key: apicast-cpanm-{{ arch }}-{{ checksum "gateway/cpanfile" }}
paths:
- ~/perl5
- store_test_results:
path: tmp/junit
- store_artifacts:
Expand Down

0 comments on commit b1ba5ae

Please sign in to comment.