forked from aspnetboilerplate/aspnetboilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
50 lines (41 loc) · 2.18 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
42
43
44
45
46
47
48
49
50
configuration: Release
version: 2.1.0-beta{build}
image: Visual Studio 2017
nuget:
disable_publish_on_pr: true
before_build:
- cmd: set PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin;%PATH%
- cmd: nuget install nuget.commandline -source https://dotnet.myget.org/F/nuget-build -prerelease -excludeversion
- cmd: set PATH=%appveyor_build_folder%\NuGet.CommandLine\tools;%PATH%
- cmd: dotnet.exe restore
after_build:
- ps: >-
$versionSuffix=(Get-Item Env:APPVEYOR_BUILD_NUMBER).Value
Set-Location "nupkg"
.\pack.ps1 -versionSuffix "$versionSuffix"
build:
verbosity: minimal
pull_requests:
do_not_increment_build_number: true
test:
assemblies:
- test\Abp.Tests\bin\Release\net46\Abp.Tests.dll
- test\Abp.AspNetCore.Tests\bin\Release\net46\Abp.AspNetCore.Tests.dll
- test\Abp.Web.Tests\bin\Release\net46\Abp.Web.Tests.dll
- test\Abp.Web.Common.Tests\bin\Release\net46\Abp.Web.Common.Tests.dll
- test\Abp.Web.Api.Tests\bin\Release\net46\Abp.Web.Api.Tests.dll
- test\Abp.Web.Mvc.Tests\bin\Release\net46\Abp.Web.Mvc.Tests.dll
- test\Abp.AutoMapper.Tests\bin\Release\net46\Abp.AutoMapper.dll
- test\Abp.EntityFramework.Tests\bin\Release\net46\Abp.EntityFramework.Tests.dll
- test\Abp.EntityFramework.GraphDiff.Tests\bin\Release\net46\Abp.EntityFramework.GraphDiff.Tests.dll
- test\Abp.EntityFrameworkCore.Tests\bin\Release\net46\Abp.EntityFrameworkCore.Tests.dll
# - test\Abp.EntityFrameworkCore.Dapper.Tests\bin\Release\netcoreapp1.1\Abp.EntityFrameworkCore.Dapper.Tests.dll
- test\Abp.MemoryDb.Tests\bin\Release\net46\Abp.MemoryDb.Tests.dll
- test\Abp.Quartz.Tests\bin\Release\net46\Abp.Quartz.Tests.dll
- test\Abp.TestBase.Tests\bin\Release\net46\Abp.TestBase.Tests.dll
- test\Abp.TestBase.SampleApplication.Tests\bin\Release\net46\Abp.TestBase.SampleApplication.Tests.dll
# - test\Abp.Dapper.Tests\bin\Release\net46\Abp.Dapper.Tests.dll
# - test\Abp.NHibernate.Tests\bin\Release\net46\Abp.NHibernate.Tests.dll
artifacts:
- path: nupkg\*.nupkg
name: nuget-packages