You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nemo.apache.org by ta...@apache.org on 2020/10/16 23:16:53 UTC
[incubator-nemo] branch master updated: [NEMO-459] Enable Automatic
Analysis for sonar cloud (#301)
This is an automated email from the ASF dual-hosted git repository.
taegeonum pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nemo.git
The following commit(s) were added to refs/heads/master by this push:
new 13bf8d4 [NEMO-459] Enable Automatic Analysis for sonar cloud (#301)
13bf8d4 is described below
commit 13bf8d4f1920867bf2df3ce76cb172c9808394e6
Author: Won Wook SONG <ws...@gmail.com>
AuthorDate: Sat Oct 17 08:16:41 2020 +0900
[NEMO-459] Enable Automatic Analysis for sonar cloud (#301)
JIRA: [NEMO-459: Enable Automatic Analysis for sonar cloud](https://issues.apache.org/jira/projects/NEMO/issues/NEMO-459)
**Major changes:**
- Change the travis configuration file accordingly, to use automatic analysis instead of the CI-enabled analysis.
**Minor changes to note:**
- None
**Tests for the changes:**
- Existing tests confirm for the changes
**Other comments:**
- None
Closes #301
---
.travis.yml | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 477eb1c..23d5d1e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -34,15 +34,13 @@ before_install:
- nvm install node # for Web UI build
install: true
script:
- # the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis if it's not an external PR (It's to be supported later on)
- - if [ "$TRAVIS_PULL_REQUEST" == false ]; then travis_retry mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent $GOAL sonar:sonar -Dsonar.host.url=https://sonarcloud.io $SONAR_PROJECT_KEY; fi
- - if [ "$TRAVIS_PULL_REQUEST" != false ]; then travis_retry mvn clean $GOAL; fi
+ # the following command line builds the project, runs the tests with coverage
+ - travis_retry mvn clean $GOAL
# Web UI Build
- pushd webui && npm install && npm test && popd
cache:
directories:
- '$HOME/.m2/repository'
- - '$HOME/.sonar/cache'
- 'webui/node_modules' # for Web UI build
notifications:
@@ -50,9 +48,5 @@ notifications:
rooms:
# Apache
- secure: iDNSliZcKu4PW55tOe8a2jxvr1OGfqaX2sCqAmHMkAH7rvOBFwln5UBaeUY8p8BIa0P12oHLCOAtqWzHiXqe2CGVz7xyXhMHD2FzAtUIQ6GocNRXkdU5JJBXMN4XOPGMX/r38GbHRhO1ThjHr3hJIhfISjnXaOMxUoIOE6aLr/Dk9LUm6iQ2eBUajmcz4vy7BuS8Wec1DOaUIH025SRDyxzkhezJjB2JgPdLsc91amWfV04tZg+NBLZmn3DhB6Jl3dRrvABbszhBqDM2tZfV1MXuI522fzKa2tMuT2dd1BxUIkIicF+IB5tLnlKmnbRXCT7gQR0KAP5bXzdZnRY8UZo+Bbd6AlHHdIHWcNItJ2b0k4LLOVJ0MfoaKmoOJoQgkAYNPIGaDHM+q1FrhJSGtPCRKN4oaGevwWQPBZot9RY8QCU0v07p+MG9wQ8sR1nbfjF0jLQiLODSVsSNVSv2c01t6Hkw [...]
+ # Nemo Dev
- secure: T6NnhwIw61J2yCzC9icgB1ez90LDcfbiJR5I5/OOCT694d0apHSWeQshTfYBoWbMa1XYiQgSHqzIzRFsTQZHDOY+6TXeP3XljUcnLij6zFw6pW6IgiJalgUso/4+wVun3QfgNDDDouuSvzov+h+MPR32UasYM/3d0MbwcDjf34asIf6aq7cbN9b4B9FU2WzNGi7wo84B4yLSxkKQHSKrm+I923UzUFza1kyuqwAHHf/XknaJvI5ZKm3Lszo4BpM1vzIcXYhahIi5yYvI8SIwYYooZUooEIYzOCZCBD5IzfKyM3XQWw5tldkMVwssQy0NL3eHdXU7+xCFSZuJ9dAqp8UMcikE/QEXG5jdLRNtjz836gfOl2U8OWXQ7vPKciPIQL/8tpltkuBGjR8Du4qW4P0B3vOcjAnwhF4WrMkGqODy6GqxBS38ZTtVsUP0OdlVUCeA4XlqB7gycTxLzcphaGCCYui6 [...]
-
-addons:
- sonarcloud:
- organization: "$SONAR_ORGANIZATION"
- token: "$SONAR_TOKEN"