Skip to content

Commit

Permalink
Added Code Climate code coverage reporting.
Browse files Browse the repository at this point in the history
  • Loading branch information
zedseven committed Feb 6, 2021
1 parent d91436f commit c99fd42
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@ install:
- dotnet restore
- tree -a .

before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build

script:
- dotnet build RomanizationNet.sln --configuration Release --no-restore
- dotnet test RomanizationTests/RomanizationTests.csproj

after_script: ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

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

deploy:
Expand Down

0 comments on commit c99fd42

Please sign in to comment.