You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user/sonarcloud.md
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -18,16 +18,17 @@ The default Travis dist
18
18
dist: xenial
19
19
```
20
20
{: data-file=".travis.yml"}
21
-
inlcudes Java 11 by default.
21
+
includes Java 11 by default.
22
22
23
23
## Inspecting code with the SonarQube Scanner
24
24
25
25
Before inspecting your code, you need to:
26
26
27
-
1. [Create a user authentication token](https://sonarcloud.io/account/security) for your account on SonarCloud.
28
-
2. [Encrypt this token](/user/encryption-keys/#usage) `travis encrypt abcdef0123456789` or define `SONAR_TOKEN` in your [Repository Settings](/user/environment-variables/#defining-variables-in-repository-settings)
29
-
3. [Find which SonarCloud.io organization](https://sonarcloud.io/account/organizations) you want to push your project on and get its key
30
-
4. Create a `sonar-project.properties` file for your project (see the [documentation](http://redirect.sonarsource.com/doc/install-configure-scanner.html)).
27
+
1. Make sure that your repository is correctly activated on Travis CI. See [Travis CI Tutorial](https://docs.travis-ci.com/user/tutorial/).
28
+
2. [Create a user authentication token](https://sonarcloud.io/account/security) for your account on SonarCloud.
29
+
3. [Encrypt this token](/user/encryption-keys/#usage) `travis encrypt abcdef0123456789` or define `SONAR_TOKEN` in your [Repository Settings](/user/environment-variables/#defining-variables-in-repository-settings)
30
+
4. [Find which SonarCloud.io organization](https://sonarcloud.io/account/organizations) you want to push your project on and get its key
31
+
5. Create a `sonar-project.properties` file for your project (see the [documentation](http://redirect.sonarsource.com/doc/install-configure-scanner.html)).
31
32
32
33
Then add the following lines to your `.travis.yml` file to trigger the analysis:
0 commit comments