You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/04/05 03:09:09 UTC
[incubator-iotdb] branch optimize_travis updated: re-organize
coveralls test
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch optimize_travis
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/optimize_travis by this push:
new 8cac36f re-organize coveralls test
8cac36f is described below
commit 8cac36f36a69b9bfb133a3a6f009bc33a9074b11
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Apr 5 11:08:49 2020 +0800
re-organize coveralls test
---
.travis.yml | 5 +++--
pom.xml | 15 +--------------
2 files changed, 4 insertions(+), 16 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 129ab83..80eb436 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -139,8 +139,9 @@ matrix:
jdk: openjdk8
script:
# now, grafana has no tests; spark-* tests are written by scala
- - mvn post-integration-test -Pcode-coverage -pl '!distribution' -am
- - mvn coveralls:report -Dservice_name=travis_ci -pl '!grafana','!spark-iotdb-connector','!spark-tsfile','!distribution','!site'
+ - mvn post-integration-test -Pcode-coverage -Pcoveralls
+ - mvn coveralls:report -Dservice_name=travis_ci -pl '!grafana','!spark-iotdb-connector','!spark-tsfile','!distribution','!site' -am
+ #- mvn coveralls:report -Dservice_name=travis_ci -Pcoveralls
- os: linux
name: website checker
dist: xenial
diff --git a/pom.xml b/pom.xml
index bbf972d..1c4c80a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1211,19 +1211,6 @@
</profile>
<!-- upload code coverage report to coveralls.io-->
<!-- to enable coveralls locally, you need to get the repoToken from https://coveralls.io/github/apache/incubator-iotdb.
- use `mvn post-integration-test -pl hadoop -Pcode-coverage -Pcoveralls -DrepoToken=TOKEN`-->
- <profile>
- <id>coveralls</id>
- <modules>
- <!-- make sure the modules are synced with profile code-coverage-->
- <module>tsfile</module>
- <module>client</module>
- <module>session</module>
- <module>server</module>
- <module>jdbc</module>
- <module>hadoop</module>
- <module>hive-connector</module>
- </modules>
- </profile>
+ use `mvn post-integration-test -Pcode-coverage -DrepoToken=TOKEN`-->
</profiles>
</project>