mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
!build
This commit is contained in:
parent
d2731fc1ef
commit
3830eee634
2 changed files with 7 additions and 4 deletions
|
@ -29,13 +29,13 @@ build_script:
|
||||||
If(($env:APPVEYOR_REPO_BRANCH -in $deployBranches -Or $env:APPVEYOR_REPO_COMMIT_MESSAGE -Match '!deploy') -And $env:APPVEYOR_REPO_COMMIT_MESSAGE -NotMatch '!build') {
|
If(($env:APPVEYOR_REPO_BRANCH -in $deployBranches -Or $env:APPVEYOR_REPO_COMMIT_MESSAGE -Match '!deploy') -And $env:APPVEYOR_REPO_COMMIT_MESSAGE -NotMatch '!build') {
|
||||||
Write-Output "This is a deployment build"
|
Write-Output "This is a deployment build"
|
||||||
$env:Deploy = 'true'
|
$env:Deploy = 'true'
|
||||||
./build.ps1 --settings_skipverification=true
|
./build.ps1
|
||||||
}
|
}
|
||||||
Else
|
Else
|
||||||
{
|
{
|
||||||
$env:Deploy = 'false'
|
$env:Deploy = 'false'
|
||||||
Write-Output "This is a not a deployment build"
|
Write-Output "This is a not a deployment build"
|
||||||
./build.ps1 --settings_skipverification=true --target=build
|
./build.ps1 --target=build
|
||||||
}
|
}
|
||||||
|
|
||||||
skip_commits:
|
skip_commits:
|
||||||
|
@ -51,7 +51,10 @@ after_build:
|
||||||
}
|
}
|
||||||
|
|
||||||
$wc = New-Object 'System.Net.WebClient'
|
$wc = New-Object 'System.Net.WebClient'
|
||||||
$wc.UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\src\**\TestResults\Test*.trx))
|
foreach ($name in Resolve-Path .\src\**\TestResults\Test*.trx) {
|
||||||
|
$wc.UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", $name)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#cache:
|
#cache:
|
||||||
#- '%USERPROFILE%\.nuget\packages'
|
#- '%USERPROFILE%\.nuget\packages'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue