You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2018/05/15 20:04:26 UTC

[1/3] [lang] Travis: Allow failures on Java 11, because some FastDateParser tests currently fail with "java.text.ParseException: Unparseable date"

Repository: commons-lang
Updated Branches:
  refs/heads/master 5fa073a5c -> 961e4a821


Travis: Allow failures on Java 11, because some FastDateParser tests currently fail with "java.text.ParseException: Unparseable date"


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/961e4a82
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/961e4a82
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/961e4a82

Branch: refs/heads/master
Commit: 961e4a821b66b27c77418dece6017e3fe912fa56
Parents: 6996686
Author: pascalschumacher <pa...@gmx.net>
Authored: Thu May 10 14:21:36 2018 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Tue May 15 22:03:20 2018 +0200

----------------------------------------------------------------------
 .travis.yml | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/961e4a82/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 05813b8..f88d2c4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -37,6 +37,9 @@ matrix:
 # Java 11 "Oracle JDK" (not yet provided by Travis CI)
     - env: JDK='Oracle JDK 11'
       install: . ./target/install-jdk.sh -F 11 -L BCL
+# some FastDateParser tests currently fail with java.text.ParseException: Unparseable date
+  allow_failures:
+    - env: JDK='Oracle JDK 11'
 
 script:
   - mvn


[3/3] [lang] Travis: Add Java 10 "Oracle JDK", Java 10 "OpenJDK", Java 11 "Oracle JDK"

Posted by pa...@apache.org.
Travis: Add Java 10 "Oracle JDK", Java 10 "OpenJDK", Java 11 "Oracle JDK"


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/a7b06d62
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/a7b06d62
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/a7b06d62

Branch: refs/heads/master
Commit: a7b06d6250e972fc14e14504c35042a84410a2e5
Parents: 5fa073a
Author: pascalschumacher <pa...@gmx.net>
Authored: Fri May 4 21:32:56 2018 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Tue May 15 22:03:20 2018 +0200

----------------------------------------------------------------------
 .travis.yml | 25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/a7b06d62/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 4977537..9bbf26f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,10 +16,27 @@
 language: java
 sudo: false
 
-jdk:
-  - openjdk7
-  - oraclejdk8
-  - oraclejdk9
+# Get latest install-jdk.sh script
+before_install:
+  - wget -P ./target/ https://github.com/sormuras/bach/raw/master/install-jdk.sh
+
+matrix:
+  include:
+    - env: JDK_RELEASE='OpenJDK 7'
+      jdk: openjdk7
+    - env: JDK_RELEASE='OracleJDK 8'
+      jdk: oraclejdk8
+    - env: JDK_RELEASE='OracleJDK 9'
+      jdk: oraclejdk9
+# Java 10 "Oracle JDK" (not yet provided by Travis CI)
+    - env: JDK='Oracle JDK 10'
+      install: . ./target/install-jdk.sh -F 10 -L BCL
+# Java 10 "OpenJDK" (not yet provided by Travis CI)
+    - env: JDK='OpenJDK 10'
+      install: . ./target/install-jdk.sh -F 10 -L GPL
+# Java 11 "Oracle JDK" (not yet provided by Travis CI)
+    - env: JDK='Oracle JDK 11'
+      install: . ./target/install-jdk.sh -F 11 -L BCL
 
 script:
   - mvn


[2/3] [lang] Travis: Switch from Cobertura to Jacoco, because Cobertura does not work on Java 9+. Cobertura-Maven-Plugin fails on Java 10+ even if execution is skipped.

Posted by pa...@apache.org.
Travis: Switch from Cobertura to Jacoco, because Cobertura does not work on Java 9+. Cobertura-Maven-Plugin fails on Java 10+ even if execution is skipped.

Skip Jacoco on Java 11, because Jacoco does not support it yet (see: https://github.com/jacoco/jacoco/issues/663).


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/6996686b
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/6996686b
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/6996686b

Branch: refs/heads/master
Commit: 6996686b6b41dd5d22947f9e5b1487547d247182
Parents: a7b06d6
Author: pascalschumacher <pa...@gmx.net>
Authored: Fri May 4 22:38:34 2018 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Tue May 15 22:03:20 2018 +0200

----------------------------------------------------------------------
 .travis.yml |  2 +-
 pom.xml     | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/6996686b/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 9bbf26f..05813b8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,4 +42,4 @@ script:
   - mvn
 
 after_success:
-  - mvn clean cobertura:cobertura coveralls:report -Ptravis-cobertura
+  - mvn clean test jacoco:report coveralls:report -Ptravis-jacoco

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/6996686b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ca1186c..12760db 100644
--- a/pom.xml
+++ b/pom.xml
@@ -840,6 +840,17 @@
     </profile>
 
     <profile>
+      <id>java11+</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <properties>
+        <!-- jacoco does not work with java 11 yet, see https://github.com/jacoco/jacoco/issues/663 -->
+        <jacoco.skip>true</jacoco.skip>
+      </properties>
+    </profile>
+
+    <profile>
       <id>benchmark</id>
       <properties>
         <skipTests>true</skipTests>