Skip to content

Commit

Permalink
Add initial CircleCI config
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcompton committed Jun 20, 2019
1 parent 900cc5a commit 6e9016b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: 2
jobs:
build:
working_directory: ~/repo
docker:
- image: circleci/clojure:openjdk-11-tools-deps
steps:
- checkout
- run:
name: Create an aggregated checksum file of all of the deps.edn files
command: find . -name 'deps.edn' | xargs shasum > checksum.txt
- restore_cache:
keys:
- v1-deps-checksum-{{ checksum "checksum.txt" }}
- v1-deps-checksum-
- run:
name: Test main
working_directory: ~/repo/lib/edge.system
command: ../bin/eftest -A:test --junit test-results/clojure.test/junit.xml
- store_test_results:
path: ~/repo/lib/edge.system/test-results
- save_cache:
paths:
- ~/.m2
- ~/.gitlibs
key: v1-deps-checksum-{{ checksum "checksum.txt" }}
workflows:
version: 2
build_and_deploy:
jobs:
- build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
# pack'd output
/*.jar
**/*.jar

checksum.txt

0 comments on commit 6e9016b

Please sign in to comment.