Skip to content

Commit 78b83c1

Browse files
Bananeweizenromani
authored andcommitted
Use Tycho 1.6.0 and JDK 13 in tests
Use the most recent version of Tycho during builds. Since it no longer supports JDK 12, also upgrade the build matrix to JDK 13 and document the Java versions of the build matrix.
1 parent fd47a02 commit 78b83c1

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,27 @@ addons:
1818
install:
1919
- ""
2020

21+
# JDKs used in builds must be supported by Tycho.
22+
# Check https://wiki.eclipse.org/Tycho/Release_Notes to find supported versions.
2123
matrix:
2224
fast_finish: true
2325
include:
26+
# JDK 8 (minimal supported Java version of eclipse-cs)
2427
- jdk: openjdk8
2528
env:
2629
- DESC="install (openjdk8)"
2730
- CMD="mvn install && git diff"
2831

32+
# JDK 11 (Long Term Support version)
2933
- jdk: openjdk11
3034
env:
3135
- DESC="install (openjdk11)"
3236
- CMD="mvn install && git diff"
3337

34-
- jdk: openjdk12
38+
# JDK 13 (most recent Java version)
39+
- jdk: openjdk13
3540
env:
36-
- DESC="install (openjdk12)"
41+
- DESC="install (openjdk13)"
3742
- CMD="mvn install && git diff"
3843

3944
script:

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
</modules>
2121

2222
<properties>
23-
<tycho-version>1.5.1</tycho-version>
24-
<tycho-extras-version>1.5.1</tycho-extras-version>
23+
<tycho-version>1.6.0</tycho-version>
24+
<tycho-extras-version>1.6.0</tycho-extras-version>
2525
<tycho.scmUrl>scm:git:git://github.com:checkstyle/eclipse-cs.git</tycho.scmUrl>
2626
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2727
</properties>

0 commit comments

Comments
 (0)