Skip to content

Commit c1e89a4

Browse files
Merge pull request #114 from LibraryOfCongress/circleci_upgrade
Circleci upgrade
2 parents a726368 + 81d06eb commit c1e89a4

File tree

2 files changed

+26
-19
lines changed

2 files changed

+26
-19
lines changed

.circleci/config.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/LibraryOfCongress/bagit-java
5+
environment:
6+
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
7+
docker:
8+
- image: circleci/openjdk:8-jdk
9+
# filters:
10+
# branches:
11+
# only: master
12+
steps:
13+
- checkout #checks out your code to your working directory
14+
- restore_cache:
15+
keys:
16+
- dependency-cache
17+
- run: ./gradlew check dependencyCheckUpdate dependencyCheckAnalyze --no-daemon
18+
- run: mkdir -p $CIRCLE_TEST_REPORTS/junit
19+
- run: find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
20+
- store_test_results:
21+
path: /tmp/circleci-test-results
22+
# Save dependency cache
23+
- save_cache:
24+
key: dependency-cache
25+
paths:
26+
- ~/.gradle

circle.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)