2020-03-08 22:17:18 +00:00
|
|
|
version: 2
|
|
|
|
|
jobs:
|
|
|
|
|
build:
|
|
|
|
|
working_directory: ~/honeysql
|
|
|
|
|
docker:
|
2021-05-12 04:10:32 +00:00
|
|
|
- image: circleci/clojure:openjdk-11-tools-deps-1.10.3.822
|
2020-03-08 22:17:18 +00:00
|
|
|
steps:
|
|
|
|
|
- checkout
|
|
|
|
|
- restore_cache:
|
2021-01-31 14:00:27 +00:00
|
|
|
key: honeysql-{{ checksum "deps.edn" }}
|
2021-01-31 13:47:14 +00:00
|
|
|
- run:
|
|
|
|
|
name: Get rid of erroneous git config
|
|
|
|
|
command: rm -rf ~/.gitconfig
|
2020-05-29 19:52:57 +00:00
|
|
|
- run:
|
|
|
|
|
name: Install Node
|
2020-08-13 19:02:52 +00:00
|
|
|
command: sudo apt-get update && sudo apt-get install -y nodejs
|
2020-05-29 19:52:57 +00:00
|
|
|
- run:
|
2020-05-29 19:59:38 +00:00
|
|
|
name: Download Dependencies
|
2021-06-17 01:25:59 +00:00
|
|
|
command: clojure -P -M:test:cljs-runner:eastwood:readme && clojure -P -M:1.9
|
2020-03-08 22:17:18 +00:00
|
|
|
- save_cache:
|
|
|
|
|
paths:
|
|
|
|
|
- ~/.m2
|
|
|
|
|
- ~/.gitlibs
|
2020-05-29 19:59:38 +00:00
|
|
|
- ~/node_modules
|
2021-01-31 14:00:27 +00:00
|
|
|
key: honeysql-{{ checksum "deps.edn" }}
|
2020-05-29 19:59:38 +00:00
|
|
|
- run:
|
|
|
|
|
name: Run all the tests
|
|
|
|
|
command: sh run-tests.sh all
|