-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
Unfortunately complex matrix of Linux distribution and available JDKs. Installs ant for OSX and Linux xenial. --HG-- extra : amend_source : 4d9134212577a42f486ca39a915130936c55fe4c
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,39 @@ | ||
language: java | ||
|
||
addons: | ||
homebrew: | ||
hostname: jyshort | ||
|
||
homebrew: # only active on osx | ||
update: true | ||
packages: ant | ||
packages: | ||
- ant | ||
|
||
|
||
matrix: | ||
include: | ||
- jdk: openjdk7 | ||
# - jdk: openjdk8 | ||
- jdk: oraclejdk8 | ||
# - jdk: oraclejdk9 | ||
# - jdk: oraclejdk11 # times out | ||
- os: linux | ||
dist: precise | ||
jdk: oraclejdk7 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jeff5
Author
Member
|
||
|
||
- os: linux | ||
dist: xenial | ||
This comment has been minimized.
Sorry, something went wrong.
cclauss
Contributor
|
||
addons: | ||
apt: | ||
packages: | ||
- ant | ||
This comment has been minimized.
Sorry, something went wrong.
cclauss
Contributor
|
||
jdk: openjdk11 | ||
|
||
- os: osx | ||
name: "JDK: oraclejdk10 Java on macOS" | ||
install: export JAVA_HOME=$(/usr/libexec/java_home) | ||
osx_image: xcode9.3 # Last supporting Java 8 | ||
jdk: oraclejdk8 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jeff5
Author
Member
|
||
|
||
addons: | ||
hostname: jyshort | ||
|
||
before_install: | ||
- cat /etc/hosts # optionally check the content *after* | ||
install: | ||
- ant developer-build | ||
|
||
install: ant | ||
|
||
script: ant && ant regrtest-travis | ||
script: | ||
- ant regrtest-travis | ||
|
||
notifications: | ||
email: | ||
|
Linux is already the default OS on Travis so that line is not strictly necessary but it does not hurt either. precise is end of life. It is not a good idea to recommend that users remain on an unsupported OS. https://wiki.ubuntu.com/Releases trusty is also end of life but at least it is still on extended paid support.