Skip to content

Commit

Permalink
[FLINK-12516][travis] Use Ubuntu 16.04 LTS (Xenial) and switch to Ope…
Browse files Browse the repository at this point in the history
…nJDK8

This changes the test environment from trusty to xenial which is still
supported until 2021-04 and provides more up-to-date system libraries.

Since oraclejdk8 is not available in Travis' xenial image and we can't switch
to oraclejdk9 yet, this also changes the JDK to openJDK8.
  • Loading branch information
Nico Kruber authored and zentol committed May 16, 2019
1 parent e6bbc09 commit 54c1af1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# send to fully-virtualized infrastructure: https://docs.travis-ci.com/user/trusty-ci-environment/
# send to fully-virtualized infrastructure: https://docs.travis-ci.com/user/reference/xenial/
sudo: required
dist: trusty
dist: xenial

cache:
# default timeout is too low
Expand Down Expand Up @@ -51,7 +51,7 @@ before_script:
- "export -f travis_time_start"
- "export -f travis_time_finish"

# Install maven 3.2.5 since trusty uses 3.3.9 for which shading is broken
# Install maven 3.2.5 since xenial uses 3.3.9 for which shading is broken
before_install:
- source ./tools/travis/setup_maven.sh

Expand All @@ -69,7 +69,7 @@ stages:
if: type = cron
- name: cleanup

jdk: "oraclejdk8"
jdk: "openjdk8"
jobs:
include:
# main profile
Expand Down

0 comments on commit 54c1af1

Please sign in to comment.