You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by he...@apache.org on 2020/05/25 13:55:11 UTC

[commons-jexl] branch master updated: Fix travis-ci scripts. Move to java 8 according to [JEXL-249].

This is an automated email from the ASF dual-hosted git repository.

henrib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jexl.git


The following commit(s) were added to refs/heads/master by this push:
     new 7332444  Fix travis-ci scripts. Move to java 8 according to [JEXL-249].
     new c4e5d40  Merge pull request #21 from XenoAmess/fix_travis_script
7332444 is described below

commit 7332444ae6ba2020425ed9bd784cf04c5c8bdc69
Author: XenoAmess <xe...@gmail.com>
AuthorDate: Mon May 25 18:28:11 2020 +0800

    Fix travis-ci scripts. Move to java 8 according to [JEXL-249].
---
 .travis.yml | 29 ++++++++++++++++-------------
 pom.xml     | 14 +++++++-------
 2 files changed, 23 insertions(+), 20 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 0474cd8..8e0178b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,17 +15,20 @@
 
 language: java
 sudo: false
-
-dist: xenial
-
-jdk:
-  - openjdk6
-  - openjdk7
-  - openjdk8
-  - openjdk11
-  - openjdk12
-  - openjdk13
-  - openjdk-ea
-
+cache:
+  directories:
+    - $HOME/.m2
+matrix:
+  include:
+    - jdk: openjdk8
+    - jdk: openjdk11
+    - jdk: openjdk12
+    - jdk: openjdk13
+    - jdk: openjdk14
+    - jdk: oraclejdk11
+    - jdk: openjdk-ea
+  allow_failures:
+    - jdk: openjdk-ea
 after_success:
-  - mvn clean test jacoco:report coveralls:report
+  - mvn -V -B -e clean cobertura:cobertura coveralls:report
+
diff --git a/pom.xml b/pom.xml
index 335f3fb..03e62a0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
         <artifactId>commons-parent</artifactId>
         <version>50</version>
     </parent>
-    
+
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-jexl3</artifactId>
     <version>3.2-SNAPSHOT</version>
@@ -32,8 +32,8 @@
     <inceptionYear>2001</inceptionYear>
 
     <properties>
-        <maven.compiler.source>1.6</maven.compiler.source>
-        <maven.compiler.target>1.6</maven.compiler.target>
+        <maven.compiler.source>1.8</maven.compiler.source>
+        <maven.compiler.target>1.8</maven.compiler.target>
         <commons.componentid>jexl</commons.componentid>
         <commons.module.name>org.apache.commons.jexl3</commons.module.name>
         <commons.release.version>3.1</commons.release.version>
@@ -55,12 +55,12 @@
         <checkstyle.plugin.version>2.17</checkstyle.plugin.version>
         <checksyle.version>8.18</checksyle.version>
     </properties>
-    
+
     <scm>
         <connection>scm:git:https://gitbox.apache.org/repos/asf/commons-jexl.git</connection>
         <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-jexl.git</developerConnection>
         <url>https://gitbox.apache.org/repos/asf/commons-jexl.git</url>
-    </scm> 
+    </scm>
     <issueManagement>
         <system>jira</system>
         <url>https://issues.apache.org/jira/browse/JEXL</url>
@@ -318,7 +318,7 @@
             </plugin>
         </plugins>
     </reporting>
-    
+
     <developers>
         <developer>
             <name>dIon Gillard</name>
@@ -367,7 +367,7 @@
             <email>henrib AT apache DOT org</email>
         </developer>
     </developers>
-    
+
     <contributors>
         <contributor>
             <name>Dmitri Blinov</name>