Skip to content

Commit

Permalink
apply changes for java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfrancois committed Aug 19, 2019
1 parent cf4dd8c commit 64a7c54
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
language: java

# to make the build work with oraclejdk8: https://travis-ci.community/t/solved-oraclejdk8-installation-failing-still-again/3428
dist: trusty

sudo: false # Linux OS: run in container

env:
global:
# get all the branches referencing this commit
- TAG_BRANCH=$(git ls-remote origin | sed -n "\|$TRAVIS_COMMIT\s\+refs/heads/|{s///p}")
- TERM=dumb

# Necessary environment variables on Travis CI:
#
Expand All @@ -21,16 +19,13 @@ env:
# BINTRAY_REPO=repo
# BINTRAY_PACKAGE=package

jdk: oraclejdk8
jdk: openjdk11

addons:
apt:
packages:
- p7zip-full

before_install:
- if [[ "${TRAVIS_OS_NAME}" == linux ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; fi

install: true

cache:
Expand Down

0 comments on commit 64a7c54

Please sign in to comment.