Skip to content

Commit a2e5b42

Browse files
committed
Enable sonarcloud checking
1 parent 6a8d12e commit a2e5b42

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.travis.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ before_script:
1616
- travis_retry composer install --no-interaction --prefer-source --dev
1717
- pecl install uopz
1818
- export PATH=$PATH:$PWD
19-
script: vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover=coverage.xml
19+
script:
20+
- vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover=coverage.xml
21+
- sonar-scanner
2022

2123
after_success:
2224
- bash <(curl -s https://codecov.io/bash)
@@ -35,3 +37,8 @@ deploy:
3537
tags: true
3638
after_deploy:
3739
- ./vendor/bin/phing clean
40+
41+
addons:
42+
sonarcloud:
43+
organization: "smillerdev-github"
44+

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PHPDraft [![Build Status](https://travis-ci.org/SMillerDev/phpdraft.svg?branch=master)](https://travis-ci.org/SMillerDev/phpdraft) [![Style Status](https://styleci.io/repos/65147997/shield)](https://styleci.io/repos/65147997) [![codecov](https://codecov.io/gh/SMillerDev/phpdraft/branch/master/graph/badge.svg)](https://codecov.io/gh/SMillerDev/phpdraft)
1+
# PHPDraft [![Packagist Version](https://img.shields.io/packagist/v/smillerdev/phpdraft.svg)](https://github.com/SMillerDev/phpdraft/releases/latest) [![Build Status](https://img.shields.io/travis/smillerdev/phpdraft.svg)](https://travis-ci.org/SMillerDev/phpdraft) [![codecov](https://img.shields.io/codecov/c/github/smillerdev/phpdraft.svg)](https://codecov.io/gh/SMillerDev/phpdraft) [![Style Status](https://styleci.io/repos/65147997/shield?style=square)](https://styleci.io/repos/65147997) ![Maintenance](https://img.shields.io/maintenance/yes/2019.svg)
22
This is a parser for API Blueprint files in PHP.[1](#dependencies)
33

44
## Dependencies

sonar-project.properties

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sonar.projectKey=SMillerDev_phpdraft
2+
sonar.projectName=PHPDraft
3+
sonar.sources=src/PHPDraft

0 commit comments

Comments
 (0)