Skip to content

Commit 043628a

Browse files
committed
using coverage to generate reports in travis file
1 parent d30312d commit 043628a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ install:
2020
&& unzip sonar-scanner-cli-$SONAR_SCANNER_VERSION.zip || echo 'Skipping Sonar Scanner installation'
2121
# command to run tests
2222
script:
23-
- pytest --junitxml=tests.xml
23+
- coverage run --source=client_encryption/ -m pytest --junitxml=tests.xml
2424
after_success:
2525
- |
2626
test "$WITH_SONAR_ANALYSIS" = "true" && sonar-scanner-$SONAR_SCANNER_VERSION/bin/sonar-scanner \

0 commit comments

Comments
 (0)