From 69d0cade75b6ae295dd88fb2fa40e1131437ce19 Mon Sep 17 00:00:00 2001 From: Sudharaka Palamakumbura Date: Thu, 1 Aug 2019 10:15:30 -0700 Subject: [PATCH] Upgrade Travis pipeline to OpenJDK11 I've removed the jdk option of travis; this I believe is useless since it's only used when used in conjunction with language: java. Also I've changed the linux distro to bionic since the default distro used by travis seems to be trusty and that doesn't have openjdk11 preinstalled (bionic does). This I believe makes the travis pipeline cleaner so that we don't have to manually install stuff on it and also could get rid of the jdk_switcher use oraclejdk8 part (which seems redundant anyways). --- generators/ci-cd/templates/travis.yml.ejs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/generators/ci-cd/templates/travis.yml.ejs b/generators/ci-cd/templates/travis.yml.ejs index 4aac958854b9..c87b155a1b66 100644 --- a/generators/ci-cd/templates/travis.yml.ejs +++ b/generators/ci-cd/templates/travis.yml.ejs @@ -18,13 +18,12 @@ -%> os: - linux +dist: bionic services: - docker language: node_js node_js: - "<%= NODE_VERSION %>" -jdk: - - oraclejdk8 cache: directories: - node @@ -45,7 +44,6 @@ env: - JHI_DISABLE_WEBPACK_LOGS=true - NG_CLI_ANALYTICS="false" before_install: - - jdk_switcher use oraclejdk8 - java -version - sudo /etc/init.d/mysql stop - sudo /etc/init.d/postgresql stop