honeysql/.circleci/config.yml

32 lines
872 B
YAML
Raw Normal View History

version: 2
jobs:
build:
working_directory: ~/honeysql
docker:
- image: circleci/clojure:openjdk-11-tools-deps-1.10.0.442
# environment:
2020-03-15 01:13:36 +00:00
# JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
key: honeysql-{{ checksum "deps.edn" }}
2020-05-29 19:52:57 +00:00
# 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