Skip to content

Commit

Permalink
add sonarcloud support.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaohong committed May 25, 2018
1 parent ff3819a commit 8f140ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ addons:
ssh_known_hosts:
- 47.93.9.236:22008
sonarcloud:
organization: "tron" # the key of the org you chose at step #3
organization: "tron-zhaohong" # the key of the org you chose at step #3
token:
secure: "DXtn8yjb2rs1dLgiSOT2w5DhskYriC252vOkeS5ydFNkfrwVFpZyGGzqJlBMhuD2MJvOb30bxUZmZC0EA3cw6BjZb4kkDrsga1HjaF2uPDFKyItTehz/BpTW4kurY4qREuxnhjw32GTdt/6n2t+93HabCIvyhNc7IZJpqCldND0VH3VNWAwRPNVnfz5uPxk0tGCHxYYk1+jKplhqiygiMSQyYqkrLiCUCxtZPoke7r2zi/WSvVhoGByF2u4rGPs6/vLWok4uxb2jd+ITOjppdKdXeqMUeJJgT/6QR4lTHuytwodTINfEQWG3D+W5oo3BVqzEBAQQDZPAxErWsX64xrAdfkX0oihw5DoU7MQFbRIamMAfO/1i7dId1aR4WrgyM7V/Qxp+JlqV6J2b0MVDq5L6jqjVBHzHgzZWs3ww+fx+4HqQYEyT2D/Ld492qX4HjkZw7HpJFY+xS4wWpN3BoGjnPNVW8d0CT/P9/WIgocCR8Sz2hCkBvSXvfp23K2Z1fhTBYNKrK+2wQ3+cCdn2AYbGCqP1vWpl3Cys4LmorVusjNM0QxUauIs55iG5+cPRLy69JYJZ6wEAfZTLSOtx5bhe3aQkBfzX9h0HX+UOe3DX4LQt5Y3mnolTrJNGCSBE+Q1v5GynJk3a3d9RA9PY2k0jLxHum9OfH2A3RZi0NgA="

Expand Down
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ buildscript {
plugins {
id "org.sonarqube" version "2.6"
}

group 'org.tron'
version '1.0.0'

Expand All @@ -21,7 +22,7 @@ apply plugin: 'application'
apply plugin: 'checkstyle'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: "jacoco"
apply plugin: "org.sonarqube"

sourceCompatibility = 1.8
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
mainClassName = 'org.tron.program.FullNode'
Expand Down
4 changes: 2 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sonar.projectKey=tron
sonar.projectName=tron
sonar.projectKey=java-tron
sonar.projectName=java-tron
sonar.projectVersion=2.1
# =====================================================
# Meta-data for the project
Expand Down

0 comments on commit 8f140ad

Please sign in to comment.