Skip to content

Commit 2d1d892

Browse files
committed
Switching build to appveyor
1 parent b7aac39 commit 2d1d892

File tree

3 files changed

+27
-67
lines changed

3 files changed

+27
-67
lines changed

Build.cmd

Lines changed: 0 additions & 9 deletions
This file was deleted.

ConventionTests.proj

Lines changed: 0 additions & 58 deletions
This file was deleted.

appveyor.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
install:
2+
- choco install gitversion.portable -pre -y
3+
4+
assembly_info:
5+
patch: false
6+
7+
before_build:
8+
- nuget restore
9+
- gitversion /l console /output buildserver /updateAssemblyInfo
10+
11+
platform:
12+
- Any CPU
13+
14+
configuration:
15+
- Release
16+
17+
build:
18+
project: ConventionTests.sln
19+
20+
after_build:
21+
- cmd: ECHO nuget pack TestStack.ConventionTests\TestStack.ConventionTests.nuspec -version "%GitVersion_NuGetVersion%" -OutputDir build\Artifacts -BasePath TestStack.ConventionTests\bin\%CONFIGURATION%
22+
- cmd: nuget pack TestStack.ConventionTests\TestStack.ConventionTests.nuspec -version "%GitVersion_NuGetVersion%" -OutputDir build\Artifacts -BasePath TestStack.ConventionTests\bin\%CONFIGURATION%
23+
- cmd: ECHO nuget pack TestStack.ConventionTests.Autofac\TestStack.ConventionTests.Autofac.nuspec -version "%GitVersion_NuGetVersion%" -OutputDir build\Artifacts -BasePath TestStack.ConventionTests.Autofac\bin\%CONFIGURATION%
24+
- cmd: nuget pack TestStack.ConventionTests.Autofac\TestStack.ConventionTests.Autofac.nuspec -version "%GitVersion_NuGetVersion%" -OutputDir build\Artifacts -BasePath TestStack.ConventionTests\bin\%CONFIGURATION%
25+
26+
- cmd: appveyor PushArtifact "build\Artifacts\TestStack.ConventionTests.%GitVersion_NuGetVersion%.nupkg"
27+
- cmd: appveyor PushArtifact "build\Artifacts\TestStack.ConventionTests.Autofac.%GitVersion_NuGetVersion%.nupkg"

0 commit comments

Comments
 (0)