Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17be34e
commit f557aa2
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
language: csharp | ||
solution: src/NLog.mono.sln | ||
dist: trusty | ||
addons: | ||
sonarqube: true | ||
branches: | ||
- sonarqube | ||
- master | ||
install: | ||
- nuget restore src/NLog.mono.sln | ||
- nuget install xunit.runners -Version 1.9.2 -OutputDirectory testrunner | ||
script: | ||
- xbuild /p:Configuration=Release src/NLog.mono.sln | ||
- sonar-scanner | ||
- mono ./testrunner/xunit.runners.1.9.2/tools/xunit.console.clr4.exe "./build/bin/Release/Mono 2.x/NLog.UnitTests.dll" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# must be unique in a given SonarQube instance | ||
sonar.projectKey=nlog | ||
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1. | ||
sonar.projectName=NLog | ||
sonar.projectVersion=4.4 | ||
|
||
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. | ||
# Since SonarQube 4.2, this property is optional if sonar.modules is set. | ||
# If not set, SonarQube starts looking for source code from the directory containing | ||
# the sonar-project.properties file. | ||
sonar.sources=src | ||
|
||
# Encoding of the source code. Default is default system encoding | ||
sonar.sourceEncoding=UTF-8 |