This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git
The following commit(s) were added to refs/heads/master by this push:
new a7b0817 Fix travis ci error and change coverage platform to codecov
(#1532)
a7b0817 is described below
commit a7b081709650f80aefa6d8a6341de706848816f6
Author: Xin Wang <[email protected]>
AuthorDate: Thu Oct 1 23:44:10 2020 +0800
Fix travis ci error and change coverage platform to codecov (#1532)
* remove useless line change
* add badges
* revert the white space
* remove useless code
* Update README.md
* lengthen timeout
* remove useless code
* revert pom.xml
---
.travis.yml | 23 +++++++++++++++++------
README.md | 2 +-
README_ZH.md | 2 +-
3 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 42b2420..49c5812 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,21 @@
language: java
-dist: trusty
jdk:
- - oraclejdk8
- #- oraclejdk7
- #- openjdk7
+ - openjdk8
+
+install: true
+
+cache:
+ directories:
+ - "$HOME/.m2"
+
before_script:
- - echo "MAVEN_OPTS='-Xmx1024m -XX:MaxPermSize=256m'" > ~/.mavenrc
+ - echo "MAVEN_OPTS='-Xmx1024m -XX:MaxMetaspaceSize=256m'" > ~/.mavenrc
+
+script:
+ - travis_wait 30 ./mvnw --batch-mode --no-transfer-progress clean install
cobertura:cobertura -Dmaven.javadoc.skip=true
+
after_success:
- - mvn clean cobertura:cobertura coveralls:report
+ - bash <(curl -s https://codecov.io/bash)
+
+after_failure:
+ - echo " build failed ! "
diff --git a/README.md b/README.md
index d6ce838..d85c2df 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ Welcome communicate with community via [mail
list](mailto:[email protected]
[](https://maven-badges.herokuapp.com/maven-central/com.dangdang/elastic-job)
[](https://travis-ci.org/apache/shardingsphere-elasticjob)
[](https://github.com/apache/shardingsphere-elasticjob/actions?query=workflow%3A%22Java+CI+with+Maven%22)
-[](https://coveralls.io/github/apache/shardingsphere-elasticjob?branch=master)
+[](https://codecov.io/gh/apache/shardingsphere-elasticjob)
## Introduction
diff --git a/README_ZH.md b/README_ZH.md
index fab0cc5..cdfd215 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -18,7 +18,7 @@ ElasticJob 已于 2020 年 5 月 28 日成为 [Apache
ShardingSphere](https://sh
[](https://maven-badges.herokuapp.com/maven-central/com.dangdang/elastic-job)
[](https://travis-ci.org/apache/shardingsphere-elasticjob)
[](https://github.com/apache/shardingsphere-elasticjob/actions?query=workflow%3A%22Java+CI+with+Maven%22)
-[](https://coveralls.io/github/apache/shardingsphere-elasticjob?branch=master)
+[](https://codecov.io/gh/apache/shardingsphere-elasticjob)
## 简介