mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 21:31:53 +01:00
Require successful Travis CI Java 11 build (#688)
* Update enforcer to allow compilation with Java 8, 9, 10 and 11 * Update Travis CI configuration to require the Java 11 build to succeed Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
parent
806d1889b0
commit
338c8b7bbc
@ -16,9 +16,6 @@ before_install:
|
||||
- echo "MAVEN_OPTS='-Xms1g -Xmx2g'" > ~/.mavenrc
|
||||
install:
|
||||
- |
|
||||
function extra_maven_opts() {
|
||||
if [ "$TRAVIS_JDK_VERSION" != "openjdk8" ]; then echo "-Denforcer.skip=true"; fi;
|
||||
}
|
||||
function prevent_timeout() {
|
||||
local i=0
|
||||
while [ -e /proc/$1 ]; do
|
||||
@ -46,9 +43,5 @@ after_success:
|
||||
- print_reactor_summary .build.log
|
||||
after_failure:
|
||||
- tail -n 2000 .build.log
|
||||
env: # required for allowing failures
|
||||
matrix:
|
||||
allow_failures:
|
||||
- jdk: openjdk11
|
||||
script:
|
||||
- mvnp clean verify -B -DskipChecks $(extra_maven_opts)
|
||||
- mvnp clean verify -B -DskipChecks
|
||||
|
Loading…
Reference in New Issue
Block a user