honeysql/.circleci/config.yml

29 lines
845 B
YAML
Raw Normal View History

version: 2
jobs:
build:
working_directory: ~/honeysql
docker:
2021-02-14 21:07:11 +00:00
- image: circleci/clojure:openjdk-11-tools-deps-1.10.2.774
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-01-31 14:08:14 +00:00
command: clojure -P -M:test:runner:cljs-runner:eastwood:readme && clojure -P -M:1.9
- 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
command: sh run-tests.sh all