Files
spring-ws/circle.yml
Greg Turnquist 0d814c0352 SWS-1020 - Add support for Java 10
* Introduce build profile targeting Java 10
* Augment CI jobs to test against Java 10 JDK
2018-05-16 16:40:41 -05:00

70 lines
1.6 KiB
YAML

version: 2
jobs:
java_8_test_current:
docker:
- image: circleci/openjdk:8u141
steps:
- checkout
- run:
name: Java 8 - Test current version
command: ./mvnw -Pdistribute,snapshot,docs clean test
java_8_test_spring_next:
docker:
- image: circleci/openjdk:8u141
steps:
- checkout
- run:
name: Java 8 - Test Spring.NEXT
command: ./mvnw -Pspringnext clean test
java_10_test_current:
docker:
- image: circleci/openjdk:10.0.1-jdk-node-browsers
steps:
- checkout
- run:
name: Java 10 - Test current version
command: ./mvnw -Pdistribute,snapshot,docs clean test
java_10_test_spring_next:
docker:
- image: circleci/openjdk:10.0.1-jdk-node-browsers
steps:
- checkout
- run:
name: Java 10 - Test Spring.NEXT
command: ./mvnw -Pspringnext clean test
deploy:
docker:
- image: circleci/openjdk:8u141
steps:
- checkout
- run:
name: Deploy to Artifactory
command: ./deploy.bash
workflows:
version: 2
build-and-deploy:
jobs:
- java_8_test_current
- java_10_test_current
- java_8_test_spring_next
- java_10_test_spring_next
- deploy:
requires:
- java_8_test_current
- java_10_test_current
- java_8_test_spring_next
- java_10_test_spring_next
general:
branches:
ignore:
- gh-pages # list of branches to ignore
dependencies:
cache_directories:
- "~/.m2"