C# Analysis using Travis CI add-on

Hi!

I’m trying to add SonarCloud to my C# OpenSource project, but I’m struggling with the analysis using Travis CI add-on.

INFO: 15 files to be analyzed
WARN: Shallow clone detected, no blame information will be provided. You can convert to non-shallow with 'git fetch --unshallow'.
INFO: 0/15 files analyzed
WARN: Missing blame information for the following files:
...
WARN: This may lead to missing/broken features in SonarQube
INFO: Calculating CPD for 0 files

Here’s the full log and the config.

Any guesses?
Thanks in advance,

Eduardo

C# analysis on Travis-CI is not a setup I would recommend. Have you tried Azure Pipelines? We have a very good integration with it, and last year, Microsoft opened it to open-source projects for free.

1 Like

Wow, I missed the fact that Microsoft opened it to open source projects for free.
I’ll definitely try to setup my CI pipeline there and configure sonarcloud.
Thanks!

1 Like