Skip to content

Commit

Permalink
Trying to use lcov as coverage format instead of cobertura.
Browse files Browse the repository at this point in the history
  • Loading branch information
zedseven committed Feb 7, 2021
1 parent 9ce9c45 commit ee7e83a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ before_script:

script:
- dotnet build RomanizationNet.sln --configuration Release --no-restore
- dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura RomanizationTests/RomanizationTests.csproj
- dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov RomanizationTests/RomanizationTests.csproj

after_script:
- ./cc-test-reporter format-coverage --input-type cobertura --output RomanizationTests/codeclimate.json RomanizationTests/coverage.cobertura.xml
- cat RomanizationTests/coverage.cobertura.xml
- ./cc-test-reporter format-coverage --input-type lcov --output RomanizationTests/codeclimate.json RomanizationTests/coverage.cobertura.xml
- cat RomanizationTests/codeclimate.json
- ./cc-test-reporter upload-coverage --input RomanizationTests/codeclimate.json

before_deploy: echo "Installing docfx..." && wget -q "https://github.com/dotnet/docfx/releases/download/v2.56.6/docfx.zip" && unzip -q -o -d ./docfx docfx.zip
Expand Down

0 comments on commit ee7e83a

Please sign in to comment.