• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1version: 0.2
2
3phases:
4  install:
5    runtime-versions:
6      java: "$JAVA_RUNTIME"
7
8  build:
9    commands:
10      - mvn clean install -Dskip.unit.tests -P integration-tests -Dfindbugs.skip -Dcheckstyle.skip -Dfailsafe.rerunFailingTestsCount=1 --fail-at-end
11      - JAVA_VERSION=$(java -version 2>&1 | grep -i version | cut -d'"' -f2 | cut -d'.' -f1-1)
12      - echo $JAVA_VERSION
13      - |
14        if [ "$JAVA_VERSION" -ge "9" ]; then
15          cd test/module-path-tests
16          mvn package
17          mvn exec:exec -P integ-tests
18        fi