Skip to content

Commit 00112ff

Browse files
committed
Improve sonar cloud configurations.
1 parent cb1eaff commit 00112ff

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ addons:
99
sonarcloud:
1010
organization: "macedoj-github"
1111
token:
12-
secure: SONAR_TOKEN
12+
secure: ${SONAR_TOKEN}
1313

1414
before_script:
1515
- sleep 3
1616
- java --version
17+
- ./gradlew --version
1718

1819
script:
1920
- ./gradlew clean build --stacktrace

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sonar.projectKey=macedoj_java-var-type-inference
22
sonar.organization=macedoj-github
33
sonar.host.url=https://sonarcloud.io
4-
sonar.login=SONAR_TOKEN
4+
sonar.login=${SONAR_TOKEN}
55
sonar.projectName=java-var-type-inference
66
sonar.projectVersion=2.0.0-RELEASE
77

0 commit comments

Comments
 (0)