honeysql/.circleci/config.yml

30 lines
933 B
YAML
Raw Normal View History

version: 2
jobs:
build:
working_directory: ~/honeysql
docker:
2021-07-30 06:09:56 +00:00
- image: circleci/clojure:openjdk-11-tools-deps-1.10.3.933
steps:
- checkout
- restore_cache:
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
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-08-01 02:37:22 +00:00
# 1.9 is the default so we need to ask for 1.10 (1.11 is a snapshot we don't cache):
2021-08-13 02:24:24 +00:00
command: clojure -P -M:build:test:cljs:eastwood:readme && clojure -P -M:1.10
- save_cache:
paths:
- ~/.m2
- ~/.gitlibs
2020-05-29 19:59:38 +00:00
- ~/node_modules
key: honeysql-{{ checksum "deps.edn" }}
2020-05-29 19:59:38 +00:00
- run:
name: Run all the tests
2021-08-13 02:20:02 +00:00
command: clojure -T:build ci