enable verification scripts
This commit is contained in:
Родитель
e25e9ec3f0
Коммит
bfcf81be01
|
@ -16,7 +16,9 @@ environment:
|
|||
AZBRIDGE_TEST_CXNSTRING:
|
||||
secure: DLwQwbX0CCtVlezqK0rPcIgnxFofTos/c3UMLTGSIWdHFwO9YHIU8a6fbxVaH5sFP+MS/ELLP66C4KVY8KwAf2EkF5ZgNm8624d1ERwN6xNCQbIVprzXw0TfgWRdIp76/07R1BnGZ/+lawAieosU9v/r6L8ibaoWB3f+mfOAgAz+dkm+azytP9A3NgrbKhr6LiRirVTrzz4+JgVDrwTgKA==
|
||||
deploy: 'off'
|
||||
test: 'auto'
|
||||
test_script:
|
||||
cmd: .\verify_build.cmd
|
||||
sh: .\verify_build.sh
|
||||
image:
|
||||
- Visual Studio 2017
|
||||
- Ubuntu
|
||||
|
|
2
run.ps1
2
run.ps1
|
@ -1 +1 @@
|
|||
msbuild -t:Clean,Restore,Package $args
|
||||
msbuild -t:Clean,Restore,Build $args
|
2
run.sh
2
run.sh
|
@ -3,5 +3,5 @@
|
|||
set -euo pipefail
|
||||
|
||||
dotnet restore
|
||||
dotnet msbuild $@
|
||||
dotnet test $@
|
||||
dotnet msbuild $@
|
|
@ -1,4 +1,5 @@
|
|||
pushd "%~dp0"
|
||||
cd test/docker
|
||||
%userprofile%\.nuget\packages\dotnet-xunit\2.3.1\tools\netcoreapp2.0\xunit.console.dll test\unit\Microsoft.Azure.Relay.Bridge.Tests\bin\Debug\net462\Microsoft.Azure.Relay.Bridge.Tests.dll -appveyor
|
||||
cd test\docker
|
||||
msbuild /t:clean,build,vstest
|
||||
popd
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
dotnet ~/.nuget/packages/dotnet-xunit/2.3.1/tools/netcoreapp2.0/xunit.console.dll test/unit/Microsoft.Azure.Relay.Bridge.Tests/bin/Debug/netcoreapp2.1/Microsoft.Azure.Relay.Bridge.Tests.dll -appveyor
|
||||
cd test/docker
|
||||
dotnet clean
|
||||
dotnet build
|
||||
|
|
|
@ -4,9 +4,6 @@
|
|||
<ReleaseSuffix>preview</ReleaseSuffix>
|
||||
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(ReleaseSuffix)' == 'rtm' ">$(VersionPrefix)</PackageVersion>
|
||||
<PackageVersion Condition="'$(IsFinalBuild)' == 'true' AND '$(ReleaseSuffix)' != 'rtm' ">$(VersionPrefix)-$(ReleaseSuffix)-final</PackageVersion>
|
||||
<BuildNumber Condition="'$(BuildNumber)' == ''"></BuildNumber>
|
||||
<VersionSuffix Condition="'$(ReleaseSuffix)' != '' And '$(BuildNumber)' == ''">$(ReleaseSuffix)</VersionSuffix>
|
||||
<VersionSuffix Condition="'$(ReleaseSuffix)' != '' And '$(BuildNumber)' != ''">$(ReleaseSuffix)-$(BuildNumber)</VersionSuffix>
|
||||
<VersionSuffix Condition="'$(ReleaseSuffix)' == '' And '$(BuildNumber)' != ''">$(BuildNumber)</VersionSuffix>
|
||||
<VersionSuffix Condition="'$(ReleaseSuffix)' != ''">$(ReleaseSuffix)</VersionSuffix>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
Загрузка…
Ссылка в новой задаче