Skip to content

Commit 7845edf

Browse files
Add activation step to directions
Add an explicit step about activating your repository on Travis, with a link to the tutorial.
1 parent 9c41e18 commit 7845edf

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

user/sonarcloud.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@ The default Travis dist
1818
dist: xenial
1919
```
2020
{: data-file=".travis.yml"}
21-
inlcudes Java 11 by default.
21+
includes Java 11 by default.
2222
2323
## Inspecting code with the SonarQube Scanner
2424
2525
Before inspecting your code, you need to:
2626
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)).
3132

3233
Then add the following lines to your `.travis.yml` file to trigger the analysis:
3334

0 commit comments

Comments
 (0)