Skip to content

Commit b0483e0

Browse files
committed
fix sonar option for unit test report
1 parent c7d4e27 commit b0483e0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ after_success:
2828
-Dsonar.projectName=$SONAR_PROJECT_NAME \
2929
-Dsonar.projectKey=$SONAR_PROJECT_KEY \
3030
-Dsonar.organization=$SONAR_ORGANIZATION_KEY \
31-
-Dsonar.sources=./client_encryption \
32-
-Dsonar.tests=./tests \
33-
-Dsonar.testExecutionReportPaths=tests.xml \
31+
-Dsonar.sources=client_encryption \
32+
-Dsonar.tests=tests \
33+
-Dsonar.python.xunit.reportPaths=tests.xml \
3434
-Dsonar.python.coverage.reportPaths=coverage.xml \
3535
-Dsonar.host.url=$SONAR_URL \
3636
-Dsonar.login=$SONAR_TOKEN || echo 'Skipping Sonar Scanner execution'

requirements.txt

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ pycryptodome==3.8.1
22
pyOpenSSL==19.0.0
33
setuptools>=39.0.1
44
coverage>=4.5.3
5-
pytest>=4.5.0

0 commit comments

Comments
 (0)