https://github.com/sonarsource/sq-com_example_standard-sqscanner-travis
Standard SQ-Scanner-based project analyzed on SonarQube Cloud using Travis
https://github.com/sonarsource/sq-com_example_standard-sqscanner-travis
Last synced: 6 months ago
JSON representation
Standard SQ-Scanner-based project analyzed on SonarQube Cloud using Travis
- Host: GitHub
- URL: https://github.com/sonarsource/sq-com_example_standard-sqscanner-travis
- Owner: SonarSource
- License: lgpl-3.0
- Created: 2016-11-21T16:24:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-07T15:47:21.000Z (11 months ago)
- Last Synced: 2025-06-08T11:51:23.923Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 35.2 KB
- Stars: 28
- Watchers: 26
- Forks: 57
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Standard SQ-Scanner-based project analyzed on SonarQube Cloud using Travis
[](https://travis-ci.org/SonarSource/sq-com_example_standard-sqscanner-travis) [](https://sonarcloud.io/summary/new_code?id=com.sonarqube.examples.standard-sqscanner-travis-project)
#### This project is analysed on [SonarQube Cloud](https://www.sonarsource.com/products/sonarcloud/)!
It is very easy to run an analysis on a project and push it to SonarQube Cloud:
1. Create a `sonar-project.properties` files to store your configuration - like `sonar.projectKey` or `sonar.sources`
2. In your `.travis.yml` file:
1. Activate the [Travis Add-on](https://docs.travis-ci.com/user/sonarcloud/)
2. Run `sonar-scanner` at some point of time in the `script` section
You can take a look at the
[sonar-project.properties](https://github.com/SonarSource/sq-com_example_standard-sqscanner-travis/blob/master/sonar-project.properties)
and
[.travis.yml](https://github.com/SonarSource/sq-com_example_standard-sqscanner-travis/blob/master/.travis.yml)
files of this project to see it in practice.
### License
Copyright 2016-2024 SonarSource.
Licensed under the [GNU Lesser General Public License, Version 3.0](http://www.gnu.org/licenses/lgpl.txt)