Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
Merge 3905d79 into 0ade250
Browse files Browse the repository at this point in the history
  • Loading branch information
pyokagan committed Dec 9, 2017
2 parents 0ade250 + 3905d79 commit 942f81c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,36 @@
# CircleCI configuration file
# For more details see https://circleci.com/docs/2.0/

version: 2
jobs:
build:
docker:
- image: openjdk:8-jdk
working_directory: ~/project
steps:
- checkout
- run:
name: Setup environment variables
command: echo 'export TERM=dumb' >>"$BASH_ENV"
- restore_cache:
keys:
# Increment the version number e.g. v2-gradle-cache-...
# to force the caches to be "invalidated".
- v1-gradle-cache-{{ checksum "build.gradle" }}
- v1-gradle-cache-
- run:
name: Build documentation
command: ./gradlew clean asciidoctor
- store_artifacts:
path: ~/project/build/docs/html5
destination: docs
- run:
name: Cleanup for save_cache
command: >-
rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
rm -fr $HOME/.gradle/caches/*/plugin-resolution/
- save_cache:
key: v1-gradle-cache-{{ checksum "build.gradle" }}
paths:
- ~/.gradle/caches
- ~/.gradle/wrapper

0 comments on commit 942f81c

Please sign in to comment.