29 lines
933 B
YAML
29 lines
933 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
working_directory: ~/honeysql
|
|
docker:
|
|
- image: circleci/clojure:openjdk-11-tools-deps-1.10.3.933
|
|
steps:
|
|
- checkout
|
|
- restore_cache:
|
|
key: honeysql-{{ checksum "deps.edn" }}
|
|
- run:
|
|
name: Get rid of erroneous git config
|
|
command: rm -rf ~/.gitconfig
|
|
- run:
|
|
name: Install Node
|
|
command: sudo apt-get update && sudo apt-get install -y nodejs
|
|
- run:
|
|
name: Download Dependencies
|
|
# 1.9 is the default so we need to ask for 1.10 (1.11 is a snapshot we don't cache):
|
|
command: clojure -P -M:build:test:cljs:eastwood:readme && clojure -P -M:1.10
|
|
- save_cache:
|
|
paths:
|
|
- ~/.m2
|
|
- ~/.gitlibs
|
|
- ~/node_modules
|
|
key: honeysql-{{ checksum "deps.edn" }}
|
|
- run:
|
|
name: Run all the tests
|
|
command: clojure -T:build ci
|