dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wang...@apache.org
Subject [dubbo-samples] branch master updated: Add Integration test to travis (#88)
Date Sat, 08 Jun 2019 09:56:18 GMT
This is an automated email from the ASF dual-hosted git repository.

wangxin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new 1827a9d  Add Integration test to travis (#88)
1827a9d is described below

commit 1827a9db02a2759210505fc039991c6868a7c7d7
Author: Huang YunKun <htynkn@gmail.com>
AuthorDate: Sat Jun 8 17:56:13 2019 +0800

    Add Integration test to travis (#88)
    
    * add integration test in stage
    * use openjdk image from dockerhub
    * upgrade dubbo to 2.7.2
---
 .travis.yml                      | 13 ++++++++++---
 dubbo-samples-annotation/pom.xml |  4 ++--
 dubbo-samples-api/pom.xml        |  4 ++--
 dubbo-samples-attachment/pom.xml |  4 ++--
 dubbo-samples-thrift/pom.xml     |  2 +-
 5 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 701dcaa..63b31d8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,15 +6,22 @@ jdk:
   - oraclejdk11
   - openjdk8
   - oraclejdk8
-
+  
 cache:
   directories:
     - $HOME/.m2
 
 install: true
 
-script:
-  - ./mvnw clean install
+
+jobs:
+  include:
+    - stage: test
+      script: ./mvnw clean install
+      name : "Compile and install project"
+    - stage: integration test
+      script: ./mvnw clean verify -Pdubbo-integration-test
+      name: "Run integration test"
 
 after_success:
   - bash <(curl -s https://codecov.io/bash)
diff --git a/dubbo-samples-annotation/pom.xml b/dubbo-samples-annotation/pom.xml
index 0462f4b..48f5416 100644
--- a/dubbo-samples-annotation/pom.xml
+++ b/dubbo-samples-annotation/pom.xml
@@ -31,7 +31,7 @@
     <properties>
         <source.level>1.8</source.level>
         <target.level>1.8</target.level>
-        <dubbo.version>2.7.2-SNAPSHOT</dubbo.version>
+        <dubbo.version>2.7.2</dubbo.version>
         <junit.version>4.12</junit.version>
         <docker-maven-plugin.version>0.30.0</docker-maven-plugin.version>
         <jib-maven-plugin.version>1.2.0</jib-maven-plugin.version>
@@ -100,7 +100,7 @@
                         <version>${jib-maven-plugin.version}</version>
                         <configuration>
                             <from>
-                                <image>gcr.io/distroless/java:debug</image>
+                                <image>openjdk:8</image>
                             </from>
                             <to>
                                 <image>${image.name}</image>
diff --git a/dubbo-samples-api/pom.xml b/dubbo-samples-api/pom.xml
index 7ca7797..523d4a7 100644
--- a/dubbo-samples-api/pom.xml
+++ b/dubbo-samples-api/pom.xml
@@ -29,7 +29,7 @@
     <properties>
         <source.level>1.8</source.level>
         <target.level>1.8</target.level>
-        <dubbo.version>2.7.2-SNAPSHOT</dubbo.version>
+        <dubbo.version>2.7.2</dubbo.version>
         <junit.version>4.12</junit.version>
         <docker-maven-plugin.version>0.30.0</docker-maven-plugin.version>
         <jib-maven-plugin.version>1.2.0</jib-maven-plugin.version>
@@ -66,7 +66,7 @@
                         <version>${jib-maven-plugin.version}</version>
                         <configuration>
                             <from>
-                                <image>gcr.io/distroless/java:debug</image>
+                                <image>openjdk:8</image>
                             </from>
                             <to>
                                 <image>${image.name}</image>
diff --git a/dubbo-samples-attachment/pom.xml b/dubbo-samples-attachment/pom.xml
index d1fd62d..105be59 100644
--- a/dubbo-samples-attachment/pom.xml
+++ b/dubbo-samples-attachment/pom.xml
@@ -31,7 +31,7 @@
     <properties>
         <source.level>1.8</source.level>
         <target.level>1.8</target.level>
-        <dubbo.version>2.7.2-SNAPSHOT</dubbo.version>
+        <dubbo.version>2.7.2</dubbo.version>
         <spring.version>4.3.16.RELEASE</spring.version>
         <junit.version>4.12</junit.version>
         <docker-maven-plugin.version>0.30.0</docker-maven-plugin.version>
@@ -100,7 +100,7 @@
                         <version>${jib-maven-plugin.version}</version>
                         <configuration>
                             <from>
-                                <image>gcr.io/distroless/java:debug</image>
+                                <image>openjdk:8</image>
                             </from>
                             <to>
                                 <image>${image.name}</image>
diff --git a/dubbo-samples-thrift/pom.xml b/dubbo-samples-thrift/pom.xml
index 9d88668..a3ab32a 100644
--- a/dubbo-samples-thrift/pom.xml
+++ b/dubbo-samples-thrift/pom.xml
@@ -44,7 +44,7 @@
         <maven_checkstyle_version>3.0.0</maven_checkstyle_version>
         <apache-rat-plugin.version>0.12</apache-rat-plugin.version>
         <spring-boot.version>1.5.13.RELEASE</spring-boot.version>
-        <dubbo-rpc-native-thrift.version>2.7.2-SNAPSHOT</dubbo-rpc-native-thrift.version>
+        <dubbo-rpc-native-thrift.version>2.7.2</dubbo-rpc-native-thrift.version>
         <libthrift.version>0.11.0</libthrift.version>
         <javax.annotation-api.version>1.3.2</javax.annotation-api.version>
     </properties>


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Mime
View raw message