mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
!wip
This commit is contained in:
parent
4f5c879fd7
commit
6152503aa1
1 changed files with 9 additions and 1 deletions
10
appveyor.yml
10
appveyor.yml
|
@ -3,7 +3,11 @@ configuration: Release
|
|||
os: Visual Studio 2017
|
||||
environment:
|
||||
nodejs_version: "9.8.0"
|
||||
typescript_version: "3.0.1"
|
||||
typescript_version: "3.0.1"
|
||||
github_auth_token:
|
||||
secure: H/7uCrjmWHGJxgN3l9fbhhdVjvvWI8VVF4ZzQqeXuJwAf+PgSNBdxv4SS+rMQ+RH
|
||||
sonarrcloud_token:
|
||||
secure: WGkIog4wuMSx1q5vmSOgIBXMtI/leMpLbZhi9MJnJdBBuDfcv12zwXg3LQwY0WbE
|
||||
|
||||
install:
|
||||
# Get the latest stable version of Node.js or io.js
|
||||
|
@ -12,7 +16,11 @@ install:
|
|||
- cmd: set path=%programfiles(x86)%\\Microsoft SDKs\TypeScript\3.0;%path%
|
||||
- cmd: tsc -v
|
||||
build_script:
|
||||
- dotnet tool install --global dotnet-sonarscanner
|
||||
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet sonarscanner begin /k:"tidusjar_Ombi" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.login=%sonarrcloud_token%" /d:"sonar.analysis.mode=preview" /d:"sonar.github.pullRequest=$env:APPVEYOR_PULL_REQUEST_NUMBER" /d:"sonar.github.repository=https://github.com/tidusjar/ombi" /d:"sonar.github.oauth=%github_auth_token%" }
|
||||
- ps: if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet sonarscanner begin /k:"tidusjar_Ombi" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.login=%sonarrcloud_token%" }
|
||||
- ps: ./build.ps1 --settings_skipverification=true
|
||||
- dotnet sonarscanner end /d:"sonar.login=YourSonarQubeToken"
|
||||
|
||||
test: off
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue