Fix Travis config: separate Java jobs
@@ -19,21 +19,20 @@ matrix:
os: linux
dist: trusty
install: skip
+ jdk: openjdk8
before_script:
- echo $JVM_EXTRA_ARGS
- - echo $JDK_PROFILES
- script: mvn package -Pall-java,licenses,lgpl,checkstyle,examples $JDK_PROFILES -DskipTests -Dmaven.javadoc.skip=true -B -V
+ script: mvn package -Pall-java,licenses,lgpl,checkstyle,examples,all-scala,scala -DskipTests -Dmaven.javadoc.skip=true -B -V
+ before_cache: rm -rfv $HOME/.m2/repository/org/apache/ignite
+ cache: {directories: [$HOME/.m2/repository]}
- jobs:
- include:
- - jdk: openjdk8
- env:
- - JDK_PROFILES='-Pall-scala,scala'
- - jdk: openjdk11
- # ignite-scalar module currently doesn't build under jdk11
- env:
- - JDK_PROFILES='-P!spark-2.4,!spark,!scala'
+ - language: java
+ os: linux
+ dist: trusty
+ install: skip
+ jdk: openjdk11
before_script:
+ - echo $JVM_EXTRA_ARGS
- |
export JVM_EXTRA_ARGS='--illegal-access=permit
--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED
@@ -42,7 +41,8 @@ matrix:
--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
--add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
-Djdk.tls.client.protocols=TLSv1.2'
-
+ # ignite-scalar module currently doesn't build under jdk11
+ script: mvn package -Pall-java,licenses,lgpl,checkstyle,examples,!spark-2.4,!spark,!scala -DskipTests -Dmaven.javadoc.skip=true -B -V
before_cache: rm -rfv $HOME/.m2/repository/org/apache/ignite
cache: {directories: [$HOME/.m2/repository]}
@@ -51,3 +51,4 @@ matrix:
dotnet: 3.1.101
script:
- dotnet build modules/platforms/dotnet/Apache.Ignite.DotNetCore.sln
+ -
\ No newline at end of file
