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

vongosling pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-flink.git


The following commit(s) were added to refs/heads/main by this push:
     new b329dbe  Update .travis.yml
b329dbe is described below

commit b329dbe9fd43fef8d0a30c38c1174d9f06da24b4
Author: von gosling <[email protected]>
AuthorDate: Wed Aug 25 15:25:43 2021 +0800

    Update .travis.yml
---
 .travis.yml | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 920d222..c421385 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,20 +1,25 @@
 dist: trusty
 
+notifications:
+  email:
+    recipients:
+      - [email protected]
+  on_success: change
+  on_failure: always
+
 language: java
 
-matrix:
-  include:
-    # On OSX, run with default JDK only.
-    # - os: osx
-    # On Linux, run with specific JDKs only.
-    - os: linux
-      env: CUSTOM_JDK="oraclejdk8"
+jdk:
+    - oraclejdk8
+    - oraclejdk9
+    - oraclejdk11
+    - openjdk8
 
-before_install:
-  - echo 'MAVEN_OPTS="$MAVEN_OPTS -Xmx1024m -XX:MaxPermSize=512m 
-XX:+BytecodeVerificationLocal"' >> ~/.mavenrc
-  - cat ~/.mavenrc
-  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then export 
JAVA_HOME=$(/usr/libexec/java_home); fi
-  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then jdk_switcher use "$CUSTOM_JDK"; 
fi
+# before_install:
+#   - echo 'MAVEN_OPTS="$MAVEN_OPTS -Xmx1024m -XX:MaxPermSize=512m 
-XX:+BytecodeVerificationLocal"' >> ~/.mavenrc
+#   - cat ~/.mavenrc
+#   - if [ "$TRAVIS_OS_NAME" == "osx" ]; then export 
JAVA_HOME=$(/usr/libexec/java_home); fi
+#   - if [ "$TRAVIS_OS_NAME" == "linux" ]; then jdk_switcher use 
"$CUSTOM_JDK"; fi
 
 script:
   - travis_retry mvn -B clean apache-rat:check

Reply via email to