From 0aa6c53a74c97068899f842c3ef7124f2aada997 Mon Sep 17 00:00:00 2001 From: Bruce Schubert Date: Sun, 14 Apr 2019 11:34:30 -0700 Subject: [PATCH 1/8] Added OpenJDK8 to the Travis-CI build --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9ea22370b2..42e82d356f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,9 @@ # Set up to run the Java build script per the Travis CI documentation language: java -# Configure the build to use Oracle JDK 8 +# Configure the build to use Oracle JDK 8 and OpenJDK8 jdk: + - openjdk8 - oraclejdk8 # Install the Ant JUnit package, which is missing from the Travis CI environment. See the Travis documentation: https://docs.travis-ci.com/user/installing-dependencies/#Adding-APT-Packages From 06b9fb425aa4cd2d4173a5544e7888ec6849b733 Mon Sep 17 00:00:00 2001 From: Bruce Schubert Date: Sun, 14 Apr 2019 11:41:55 -0700 Subject: [PATCH 2/8] Added Oracle JDK 9 and 11 to Travis-CI build --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 42e82d356f..6c04ae9cdc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,8 @@ language: java jdk: - openjdk8 - oraclejdk8 + - oraclejdk9 + - oraclejdk11 # Install the Ant JUnit package, which is missing from the Travis CI environment. See the Travis documentation: https://docs.travis-ci.com/user/installing-dependencies/#Adding-APT-Packages addons: From eb1a4583387617abaf2e08a9b00de880e8602f4f Mon Sep 17 00:00:00 2001 From: Bruce Schubert Date: Sun, 14 Apr 2019 11:58:48 -0700 Subject: [PATCH 3/8] Configured travis build using OracleJDK and OpenJDK versions 8 and 11 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6c04ae9cdc..a96a1681b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,11 @@ # Set up to run the Java build script per the Travis CI documentation language: java -# Configure the build to use Oracle JDK 8 and OpenJDK8 +# Configure the build to use Oracle JDKs and Open JDKs jdk: - openjdk8 + - openjdk11 - oraclejdk8 - - oraclejdk9 - oraclejdk11 # Install the Ant JUnit package, which is missing from the Travis CI environment. See the Travis documentation: https://docs.travis-ci.com/user/installing-dependencies/#Adding-APT-Packages From a76aa99ee303b8e1e62997ac4aa098393d9736d4 Mon Sep 17 00:00:00 2001 From: Bruce Schubert Date: Mon, 15 Apr 2019 04:53:02 -0700 Subject: [PATCH 4/8] Updated .travis.yml to build with the minimum and the latest JDKs - Building with both the Oracle JDK and OpenJDK versions. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a96a1681b1..2954b7f2b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,12 +4,14 @@ # Set up to run the Java build script per the Travis CI documentation language: java -# Configure the build to use Oracle JDKs and Open JDKs +# Configure the build to using the minimum and the latest Oracle JDKs and Open JDKs jdk: - openjdk8 - openjdk11 + - openjdk-ea - oraclejdk8 - oraclejdk11 + - oraclejdk-ea # Install the Ant JUnit package, which is missing from the Travis CI environment. See the Travis documentation: https://docs.travis-ci.com/user/installing-dependencies/#Adding-APT-Packages addons: From 682938109c06f70ea7486ee718dacf341d246156 Mon Sep 17 00:00:00 2001 From: Bruce Schubert Date: Mon, 15 Apr 2019 05:07:20 -0700 Subject: [PATCH 5/8] Configured .travis.yml to build with JDK 8 and 11 - Configured to build with the minimum JDK and the latest stable JDK - Building with both Oracle JDKs and Open JDKs --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2954b7f2b7..1e43f75e7b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,14 +4,13 @@ # Set up to run the Java build script per the Travis CI documentation language: java -# Configure the build to using the minimum and the latest Oracle JDKs and Open JDKs +# Configure the build to using the minimum and the latest stable Oracle JDKs and Open JDKs +# Consider adding openjdk-ea and/or oraclejdk-ea to test early access JDKs jdk: - openjdk8 - openjdk11 - - openjdk-ea - oraclejdk8 - oraclejdk11 - - oraclejdk-ea # Install the Ant JUnit package, which is missing from the Travis CI environment. See the Travis documentation: https://docs.travis-ci.com/user/installing-dependencies/#Adding-APT-Packages addons: From 9b465b157295242f70c823f1be29f62fc5c88487 Mon Sep 17 00:00:00 2001 From: Bruce Schubert Date: Mon, 15 Apr 2019 05:19:43 -0700 Subject: [PATCH 6/8] Configured .travis.yml to test build with an early access JDK - Configured to use openjdk-ea - Errors encountered with the early access JDK will not fail the build --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 1e43f75e7b..69b742069a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,12 @@ jdk: - openjdk11 - oraclejdk8 - oraclejdk11 + - openjdk-ea + +# +matrix: + allow_failures: + - jdk: openjdk-ea # Install the Ant JUnit package, which is missing from the Travis CI environment. See the Travis documentation: https://docs.travis-ci.com/user/installing-dependencies/#Adding-APT-Packages addons: From 9624c0d4196f21b3fa1044d663f49a02858236ff Mon Sep 17 00:00:00 2001 From: Bruce Schubert Date: Mon, 15 Apr 2019 05:56:04 -0700 Subject: [PATCH 7/8] Updated .travis.yml deploy conditions and added fast_finish directive - Restrict deployment actions to `oraclejdk8` - `fast_finish` allows the build to be marked done without waiting for early access build to complete --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 69b742069a..5d9aa2e356 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,9 @@ jdk: - oraclejdk11 - openjdk-ea -# +# Don't fail the build on the early access JDK, or wait for it to finish before marking it done. matrix: + fast_finish: tree allow_failures: - jdk: openjdk-ea @@ -43,12 +44,14 @@ deploy: skip_cleanup: true on: branch: develop + jdk: oraclejdk8 # Create CHANGELOG.md in the current directory - provider: script script: ./travis/changelog.sh >> CHANGELOG.md skip_cleanup: true on: tags: true + jdk: oraclejdk8 # Create a GitHub release and publish CHANGELOG.md to the release assets - provider: releases api_key: $GITHUB_API_KEY @@ -56,3 +59,4 @@ deploy: skip_cleanup: true on: tags: true + jdk: oraclejdk8 From 183ce264db6ab4b03cfaab2084bde98928377378 Mon Sep 17 00:00:00 2001 From: Bruce Schubert Date: Mon, 15 Apr 2019 05:56:59 -0700 Subject: [PATCH 8/8] Fixed typo in .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5d9aa2e356..0e60d9fe20 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ jdk: # Don't fail the build on the early access JDK, or wait for it to finish before marking it done. matrix: - fast_finish: tree + fast_finish: true allow_failures: - jdk: openjdk-ea