You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2021/01/30 11:28:20 UTC
[dubbo-spi-extensions] 08/39: add travis job
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch 2.7.x
in repository https://gitbox.apache.org/repos/asf/dubbo-spi-extensions.git
commit 408c748986ab7995efbe8a8e5d2f521aa8783f6e
Author: ken.lj <ke...@gmail.com>
AuthorDate: Thu Aug 27 16:26:58 2020 +0800
add travis job
---
.travis.yml | 22 ++++++++++++++++++++++
README.md | 1 +
2 files changed, 23 insertions(+)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f13d3e6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,22 @@
+language: java
+sudo: false # faster builds
+
+jdk:
+ - openjdk11
+ - openjdk8
+
+cache:
+ directories:
+ - $HOME/.m2
+
+install: true
+
+script:
+ - rm -rf $HOME/.m2/repository/org/glassfish/javax.el/3.0.1-b08
+ - travis_wait 30 ./mvnw --batch-mode --no-transfer-progress clean install -DskipTests=false -DskipIntegrationTests=false -Dcheckstyle.skip=false -Drat.skip=false -Dmaven.javadoc.skip=true
+
+after_success:
+ - bash <(curl -s https://codecov.io/bash)
+
+after_failure:
+ - echo "build failed!"
diff --git a/README.md b/README.md
index 3b188df..8d875cc 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,2 @@
# dubbo-spi-extensions
+[![Build Status](https://travis-ci.org/apache/dubbo-spi-extensions.svg?branch=master)](https://travis-ci.org/apache/dubbo-spi-extensions)
\ No newline at end of file