forked from Azure/azure-webjobs-sdk-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
41 lines (33 loc) · 1.52 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: '{build}'
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
branches:
only:
- master
- dev
- next
- core
clone_folder: c:\azure-webjobs-sdk-extensions
install:
- ps: >
$env:CommitHash = "$env:APPVEYOR_REPO_COMMIT"
environment:
BUILD_NUMBER: '%APPVEYOR_BUILD_NUMBER%'
IncludeBuildNumberInVersion: 1
build_script:
- ps: >
dotnet --version
dotnet build -v q
dotnet pack src\WebJobs.Extensions\WebJobs.Extensions.csproj -o ..\..\buildoutput --no-build --version-suffix "-$env:APPVEYOR_BUILD_NUMBER"
dotnet pack src\WebJobs.Extensions.CosmosDB\WebJobs.Extensions.CosmosDB.csproj -o ..\..\buildoutput --no-build --version-suffix "-$env:APPVEYOR_BUILD_NUMBER"
dotnet pack src\WebJobs.Extensions.Http\WebJobs.Extensions.Http.csproj -o ..\..\buildoutput --no-build --version-suffix "-$env:APPVEYOR_BUILD_NUMBER"
dotnet pack src\WebJobs.Extensions.MobileApps\WebJobs.Extensions.MobileApps.csproj -o ..\..\buildoutput --no-build --version-suffix "-$env:APPVEYOR_BUILD_NUMBER"
dotnet pack src\WebJobs.Extensions.Twilio\WebJobs.Extensions.Twilio.csproj -o ..\..\buildoutput --no-build --version-suffix "-$env:APPVEYOR_BUILD_NUMBER"
dotnet pack src\WebJobs.Extensions.SendGrid\WebJobs.Extensions.SendGrid.csproj -o ..\..\buildoutput --no-build --version-suffix "-$env:APPVEYOR_BUILD_NUMBER"
test_script:
- ps: >-
dotnet test .\test\WebJobs.Extensions.Tests\ -v q --no-build -p:ParallelizeTestCollections=false
artifacts:
- path: buildoutput\*.nupkg
name: Packages