From fbf0b8210b570d6a149ed418e75adb9fbd05bb07 Mon Sep 17 00:00:00 2001 From: Thierry Marianne Date: Thu, 22 Nov 2018 20:10:26 +0100 Subject: [PATCH] v0.3.0 (#6) Update Circle CI configuration Add status badge to project README --- .circleci/config.yml | 28 +++++++++++++++++----------- README.md | 2 ++ 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ef27076..ea6af73 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/README.md b/README.md index 76e72b7..a074ef5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Daily Press Review +[![CircleCI](https://circleci.com/gh/thierrymarianne/daily-press-review-clojure.svg?style=svg)](https://circleci.com/gh/thierrymarianne/daily-press-review-clojure) + Easing observation of Twitter lists to publish a daily press review ## Dependencies