#374 - Move profile activation into profile itself.

Removed the explicit activation of the JDK specific profile activation in the Travis config file in favor of a simple <activation /> element in the POM.
This commit is contained in:
Oliver Gierke
2018-06-12 10:07:30 +02:00
parent 1e40c91ed0
commit 679165603d
2 changed files with 8 additions and 5 deletions

View File

@@ -3,12 +3,12 @@ language: java
matrix:
include:
- jdk: oraclejdk8
env: JDK='Oracle JDK 8' PROFILE=jdk8
env: JDK='Oracle JDK 8'
- jdk: oraclejdk9
env: JDK='Oracle JDK 9' PROFILE=jdk9
- env: JDK='Oracle JDK 10' PROFILE=jdk10
env: JDK='Oracle JDK 9'
- env: JDK='Oracle JDK 10'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -F 10 -L BCL
- env: JDK='Oracle JDK 11' PROFILE=jdk11
- env: JDK='Oracle JDK 11'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -F 11 -L BCL
addons:
@@ -41,4 +41,4 @@ install:
script:
- mvn -version
- mvn clean dependency:list test -U -Dsort -Dmaven.test.redirectTestOutputToFile=true -B -Dlombok.version=edge-SNAPSHOT -P $PROFILE
- mvn clean dependency:list test -U -Dsort -Dmaven.test.redirectTestOutputToFile=true -B -Dlombok.version=edge-SNAPSHOT

View File

@@ -159,6 +159,9 @@
<profile>
<id>jdk11</id>
<activation>
<jdk>11</jdk>
</activation>
<properties>
<skipTests>true</skipTests>
</properties>