-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
102 changed files
with
6,523 additions
and
1,533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Java Maven CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-java/ for more details | ||
# | ||
version: 2 | ||
|
||
references: | ||
build: &build | ||
working_directory: ~/repo | ||
|
||
environment: | ||
# Customize the JVM maximum heap limit | ||
MAVEN_OPTS: -Xmx2048m | ||
JACOCO: false | ||
|
||
steps: | ||
- checkout | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
- v2-dependencies-{{ checksum "pom.xml" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v2-dependencies- | ||
|
||
- run: | ||
name: Go Offline with Maven | ||
command: mvn verify -DskipTests | ||
|
||
- save_cache: | ||
paths: | ||
- ~/.m2 | ||
key: v2-dependencies-{{ checksum "pom.xml" }} | ||
|
||
# run tests! | ||
- run: | ||
name: Run integration tests | ||
command: mvn verify | ||
|
||
workflows: | ||
version: 2 | ||
integration-tests: | ||
jobs: | ||
- zulu-6 | ||
- zulu-7 | ||
- zulu-8 | ||
- zulu-9 | ||
- zulu-11 | ||
|
||
jobs: | ||
zulu-6: | ||
docker: | ||
- image: wavesoftware/circleci-zulujdk:6 | ||
<<: *build | ||
zulu-7: | ||
docker: | ||
- image: wavesoftware/circleci-zulujdk:7 | ||
<<: *build | ||
zulu-8: | ||
docker: | ||
- image: wavesoftware/circleci-zulujdk:8 | ||
<<: *build | ||
zulu-9: | ||
docker: | ||
- image: wavesoftware/circleci-zulujdk:9 | ||
<<: *build | ||
zulu-11: | ||
docker: | ||
- image: wavesoftware/circleci-zulujdk:11 | ||
<<: *build | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,26 @@ | ||
language: java | ||
script: mvn clean install --fail-at-end | ||
dist: trusty | ||
before_script: mvn dependency:go-offline | ||
script: mvn clean verify --fail-at-end | ||
notifications: | ||
email: | ||
on_failure: true | ||
on_failure: change | ||
matrix: | ||
include: | ||
- jdk: openjdk6 | ||
env: JACOCO=true | ||
- jdk: openjdk7 | ||
env: JACOCO=true COVERALLS=true | ||
- jdk: oraclejdk7 | ||
env: JACOCO=true | ||
- jdk: oraclejdk8 | ||
env: JACOCO=true | ||
- jdk: openjdk7 | ||
env: JACOCO=true GDMSESSION=sonar | ||
- jdk: openjdk7 | ||
env: JACOCO=true SONAR=publish | ||
script: mvn clean install sonar:sonar --fail-at-end | ||
- jdk: openjdk6 | ||
env: JACOCO=false | ||
- jdk: openjdk7 | ||
env: JACOCO=false | ||
- jdk: oraclejdk7 | ||
env: JACOCO=false | ||
- jdk: oraclejdk8 | ||
env: JACOCO=false | ||
# Quality testing | ||
- jdk: oraclejdk8 | ||
env: JACOCO=true RELEASE_CHECKS=true | ||
- jdk: oraclejdk8 | ||
env: JACOCO=true COVERALLS=true | ||
- jdk: oraclejdk8 | ||
env: JACOCO=true SONAR=publish | ||
script: mvn clean verify sonar:sonar --fail-at-end | ||
# Performance testing | ||
- jdk: openjdk7 | ||
env: JACOCO=false | ||
- jdk: openjdk8 | ||
env: JACOCO=false | ||
- jdk: oraclejdk9 | ||
env: JACOCO=false | ||
- jdk: oraclejdk11 | ||
env: JACOCO=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.