nemo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jan...@apache.org
Subject [incubator-nemo] branch master updated: [NEMO-34] SonarCloud (#7)
Date Wed, 14 Mar 2018 08:53:20 GMT
This is an automated email from the ASF dual-hosted git repository.

jangho 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 d30e25e  [NEMO-34] SonarCloud (#7)
d30e25e is described below

commit d30e25ea77185e39695e2328bad28ee1af405989
Author: Won Wook SONG <wonook@apache.org>
AuthorDate: Wed Mar 14 17:53:18 2018 +0900

    [NEMO-34] SonarCloud (#7)
    
    JIRA: [NEMO-34](https://issues.apache.org/jira/browse/NEMO-34)
    
    **Major changes:**
    - Edit Travis.yml to support sonarcloud at https://sonarcloud.io/organizations/apache-nemo/projects
    
    **Minor changes to note:**
    - None.
    
    **Tests for the changes:**
    - Not required.
    
    **Other comments:**
    - None
---
 .travis.yml | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 1a34289..1fe90bc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,7 +16,9 @@
 # .travis.yml
 # For maven builds
 language: java
-script: mvn verify -B -q -ff -Dsurefire.useFile=false -Dorg.slf4j.simpleLogger.defaultLogLevel=warn
+script:
+  # the following command line builds the project, runs the tests with coverage and then
execute the SonarCloud analysis
+  - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar -B -q -ff -Dsurefire.useFile=false
-Dorg.slf4j.simpleLogger.defaultLogLevel=info
 
 notifications:
   slack:
@@ -24,4 +26,11 @@ notifications:
 
 cache:
   directories:
-  - "$HOME/.m2"
+  - '$HOME/.m2/repository'
+  - '$HOME/.sonar/cache'
+
+addons:
+  sonarcloud:
+    organization: "apache-nemo"
+    token:
+      secure: "ZCt/oEtyomXzNtJIZUeTVuCN3tjJRqZ29OkLg/U3DJTHIqWcaLfaY4MRFJR4DLRwthB24le0UTcGhFZnzZcZU3ji+ADpF/21sIqMDZgPSaqnb45NBCcLRhDUxM6VmU+DevTU7ob6aGRatEGO+C49logQOQbWM6g3KTKeaCR/pds/6isEUJg8Yqj/Poorqy+DbcpaavHBRrg3Zyxi8xwR1teYo8b7lVVMyXvtEVg+YAPuRPMy7c01zGm0MDzngSL1Sv8Q3YmHsbO3SrIueo+Ik0umuTSKMU4pkRj9jIunpGV1UQ3h5LQHzU/9VnhlgTnK2Ut6fThDx9no7rJwUCfy3LTP0z0dN2hAgK43ZSxuM47lP/Bm4hDRCY7KFNNVxEVhA/5DboWhTQq+iPW0Cc0SztOTLR+j76Yh6qmHmN39OWF22UG34D2JFGGgqfWfXwOBxW4cXVxtFQVzsuBcbJ/5zw0gtuvcQ
[...]

-- 
To stop receiving notification emails like this one, please contact
jangho@apache.org.

Mime
View raw message