Skip to content

Commit dac3e3c

Browse files
committed
Add circlecli config
1 parent 3359d69 commit dac3e3c

2 files changed

Lines changed: 46 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Java Maven CircleCI 2.0 configuration file
2+
#
3+
# Check https://circleci.com/docs/2.0/language-java/ for more details
4+
#
5+
version: 2
6+
jobs:
7+
build:
8+
docker:
9+
# specify the version you desire here
10+
- image: circleci/openjdk:8-jdk
11+
12+
# Specify service dependencies here if necessary
13+
# CircleCI maintains a library of pre-built images
14+
# documented at https://circleci.com/docs/2.0/circleci-images/
15+
# - image: circleci/postgres:9.4
16+
17+
working_directory: ~/repo
18+
19+
environment:
20+
# Customize the JVM maximum heap limit
21+
MAVEN_OPTS: -Xmx3200m
22+
23+
steps:
24+
- checkout
25+
26+
# Download and cache dependencies
27+
- restore_cache:
28+
keys:
29+
- v1-dependencies-{{ checksum "pom.xml" }}
30+
# fallback to using the latest cache if no exact match is found
31+
- v1-dependencies-
32+
33+
- run: mvn dependency:go-offline
34+
35+
- save_cache:
36+
paths:
37+
- ~/.m2
38+
key: v1-dependencies-{{ checksum "pom.xml" }}
39+
40+
# run tests!
41+
- run: mvn test
42+

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# apigateway-generic-java-sdk
2-
This is a simple generic Java client for Amazon API Gateway endpoints. It is useful when you don't necessarily want to generate a [strongly typed SDK](https://aws.amazon.com/blogs/developer/api-gateway-java-sdk), such as when prototyping or scripting.
2+
3+
[![CircleCI](https://circleci.com/gh/rpgreen/apigateway-generic-java-sdk.svg?style=svg)](https://circleci.com/gh/rpgreen/apigateway-generic-java-sdk)
4+
5+
This is a simple generic Java client for Amazon API Gateway endpoints. It is useful when you don't necessarily want to generate a [strongly-typed SDK](https://aws.amazon.com/blogs/developer/api-gateway-java-sdk), such as when prototyping or scripting.
36

47
It is optimized to run from a Lambda function and does not require extra dependencies beyond the AWS SDK, which is already bundled in the Lambda runtime.
58

0 commit comments

Comments
 (0)