Skip to content

Commit fbc3fc4

Browse files
authored
Add circleci for testing. Remove Travis. (#493)
Signed-off-by: Brian Brazil <[email protected]>
1 parent e28b835 commit fbc3fc4

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

.circleci/config.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/circleci-java
5+
docker:
6+
- image: circleci/openjdk:8-jdk-stretch
7+
8+
steps:
9+
- checkout
10+
- restore_cache: # restore the saved cache after the first run or if `pom.xml` has changed
11+
key: circleci-demo-java-spring-{{ checksum "pom.xml" }}
12+
- run: mvn dependency:go-offline # gets the project dependencies
13+
- save_cache:
14+
paths:
15+
- ~/.m2
16+
key: circleci-demo-java-spring-{{ checksum "pom.xml" }}
17+
18+
- run: mvn package

.travis.yml

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

0 commit comments

Comments
 (0)