Skip to content

Commit

Permalink
Code Climate's cc-test-reporter after-build subcommand doesn't work, …
Browse files Browse the repository at this point in the history
…so changed it to the format-coverage and upload-coverage ones instead.
  • Loading branch information
zedseven committed Feb 6, 2021
1 parent f2ca942 commit 9ce9c45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ script:
- dotnet build RomanizationNet.sln --configuration Release --no-restore
- dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura RomanizationTests/RomanizationTests.csproj

after_script: ./cc-test-reporter after-build --coverage-input-type cobertura --exit-code $TRAVIS_TEST_RESULT
after_script:
- ./cc-test-reporter format-coverage --input-type cobertura --output RomanizationTests/codeclimate.json RomanizationTests/coverage.cobertura.xml
- ./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 9ce9c45

Please sign in to comment.