-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Circle CI configuration Add status badge to project README
- Loading branch information
1 parent
e393105
commit fbf0b82
Showing
2 changed files
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,41 @@ | ||
version: 2 | ||
|
||
defaults: | ||
docker: | ||
- image: circleci/clojure:lein-2.7.1 | ||
|
||
jobs: | ||
build: | ||
working_directory: ~/press-review-clojure | ||
docker: | ||
- image: circleci/clojure:lein-2.7.1 | ||
|
||
working_directory: ~/press-review-clojure | ||
|
||
environment: | ||
LEIN_ROOT: "true" | ||
JVM_OPTS: -Xmx3200m | ||
LEIN_ROOT: "true" | ||
JVM_OPTS: -Xmx3200m | ||
|
||
steps: | ||
- checkout | ||
|
||
- restore_cache: | ||
key: | ||
- v1-dependencies-{{{ checksum "project.clj" }} | ||
keys: | ||
- v1-dependencies-{{ checksum "project.clj" }} | ||
- v1-dependencies | ||
|
||
- run: | ||
name: Copy test configuration | ||
command: | | ||
cp .lein-env.test.dist lein-env | ||
- run: | ||
name: Install dependencies | ||
command: | | ||
lein deps | ||
- run: | ||
name: Run test suite | ||
command: | | ||
lein test | ||
- save_cache: | ||
key: v1-dependencies-{{ checksum "project.clj" }} | ||
paths: | ||
- $HOME/.m2 | ||
- $HOME/.lein | ||
- $HOME/.m2 | ||
- $HOME/.lein |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters