honeysql/.circleci/config.yml
2020-05-29 12:52:57 -07:00

31 lines
872 B
YAML

version: 2
jobs:
build:
working_directory: ~/honeysql
docker:
- image: circleci/clojure:openjdk-11-tools-deps-1.10.0.442
# environment:
# JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
key: honeysql-{{ checksum "deps.edn" }}
# Install Node for JH Build
- run:
name: Download Node
command: curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash
- run:
name: Install Node
command: sudo apt-get install -y nodejs
- run:
name: update-npm
command: sudo npm install -g npm@latest
- run:
name: Run Tests
command: clojure -R:test:runner -Spath
- save_cache:
paths:
- ~/.m2
- ~/.gitlibs
key: honeysql-{{ checksum "deps.edn" }}
- run: sh run-tests.sh