You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by il...@apache.org on 2019/09/02 05:52:28 UTC

[dubbo] branch 2.6.x updated: switch back to openjdk since zulu 7 doesn't support javascript, see issue #4961

This is an automated email from the ASF dual-hosted git repository.

iluo pushed a commit to branch 2.6.x
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/2.6.x by this push:
     new 5c5ac0a  switch back to openjdk since zulu 7 doesn't support javascript, see issue #4961
5c5ac0a is described below

commit 5c5ac0ab9000cdee38d225114cebcfa1819f65f6
Author: Ian Luo <ia...@gmail.com>
AuthorDate: Mon Sep 2 13:51:39 2019 +0800

    switch back to openjdk since zulu 7 doesn't support javascript, see issue #4961
---
 .travis.yml | 28 ++++++++--------------------
 1 file changed, 8 insertions(+), 20 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index f7e7606..3cb3106 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,31 +1,19 @@
 language: java
 sudo: false
 
-matrix:
-  include:
-    - env:
-        - ZULUJDK=8
-    - env:
-        - ZULUJDK=7
-
-before_install:
-  # adding $HOME/.sdkman to cache would create an empty directory, which interferes with the initial installation
-  - "[[ -d $HOME/.sdkman/bin/ ]] || rm -rf $HOME/.sdkman/"
-  - curl -sL https://get.sdkman.io | bash
-  - echo sdkman_auto_answer=true > $HOME/.sdkman/etc/config
-  - source "$HOME/.sdkman/bin/sdkman-init.sh"
-
-install:
-  - sdk install java $(sdk list java | grep -o "$ZULUJDK\.[0-9\.]*-zulu" | head -1)
-  - unset JAVA_HOME
+jdk:
+  - oraclejdk8
+  - openjdk7
 
 cache:
   directories:
-    - "$HOME/.m2/repository"
-    - "$HOME/.m2/wrapper"
+    - $HOME/.m2
+    - $HOME/.m2/wrapper
+
+install: true
 
 script:
   - travis_wait 30 ./mvnw --batch-mode --no-transfer-progress clean install -DskipTests=false -Dcheckstyle.skip=false -Drat.skip=false -Dmaven.javadoc.skip=true
 
 after_success:
-  - bash <(curl -s https://codecov.io/bash)
+  - bash <(curl -s https://codecov.io/bash)
\ No newline at end of file