Skip to content

Commit 23383af

Browse files
authored
Merge pull request #28 from WorldWindEarth/enhance/travis
Added multiple JDKs to the Travis-CI build
2 parents abc709e + 183ce26 commit 23383af

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.travis.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,20 @@
44
# Set up to run the Java build script per the Travis CI documentation
55
language: java
66

7-
# Configure the build to use Oracle JDK 8
7+
# Configure the build to using the minimum and the latest stable Oracle JDKs and Open JDKs
8+
# Consider adding openjdk-ea and/or oraclejdk-ea to test early access JDKs
89
jdk:
10+
- openjdk8
11+
- openjdk11
912
- oraclejdk8
13+
- oraclejdk11
14+
- openjdk-ea
15+
16+
# Don't fail the build on the early access JDK, or wait for it to finish before marking it done.
17+
matrix:
18+
fast_finish: true
19+
allow_failures:
20+
- jdk: openjdk-ea
1021

1122
# Install the Ant JUnit package, which is missing from the Travis CI environment. See the Travis documentation: https://docs.travis-ci.com/user/installing-dependencies/#Adding-APT-Packages
1223
addons:
@@ -33,16 +44,19 @@ deploy:
3344
skip_cleanup: true
3445
on:
3546
branch: develop
47+
jdk: oraclejdk8
3648
# Create CHANGELOG.md in the current directory
3749
- provider: script
3850
script: ./travis/changelog.sh >> CHANGELOG.md
3951
skip_cleanup: true
4052
on:
4153
tags: true
54+
jdk: oraclejdk8
4255
# Create a GitHub release and publish CHANGELOG.md to the release assets
4356
- provider: releases
4457
api_key: $GITHUB_API_KEY
4558
file: CHANGELOG.md
4659
skip_cleanup: true
4760
on:
4861
tags: true
62+
jdk: oraclejdk8

0 commit comments

Comments
 (0)