Skip to content

Commit 837f5d4

Browse files
committed
Merge pull request #63 from JakeGinnivan/AppVeyorBuild
Switching build to appveyor
2 parents b7aac39 + bafcd2a commit 837f5d4

File tree

4 files changed

+28
-67
lines changed

4 files changed

+28
-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.

Samples/SampleApp.Tests/SqlScriptTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
public class SqlScriptTests
1111
{
1212
[Test]
13+
[Explicit] // Only works when shadow copy disabled for tests
1314
public void SqlScriptsShouldBeEmbeddedResources()
1415
{
1516
Convention.Is(new FilesAreEmbeddedResources(".sql"), new ProjectFileItems(typeof(DomainClass).Assembly));

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+
- Debug
16+
17+
build:
18+
project: ConventionTests.sln
19+
20+
after_build:
21+
- cmd: ECHO nuget pack TestStack.ConventionTests\TestStack.ConventionTests.nuspec -version "%GitVersion_NuGetVersion%" -BasePath TestStack.ConventionTests\bin\%CONFIGURATION%
22+
- cmd: nuget pack TestStack.ConventionTests\TestStack.ConventionTests.nuspec -version "%GitVersion_NuGetVersion%" -BasePath TestStack.ConventionTests\bin\%CONFIGURATION%
23+
- cmd: ECHO nuget pack TestStack.ConventionTests.Autofac\TestStack.ConventionTests.Autofac.nuspec -version "%GitVersion_NuGetVersion%" -BasePath TestStack.ConventionTests.Autofac\bin\%CONFIGURATION%
24+
- cmd: nuget pack TestStack.ConventionTests.Autofac\TestStack.ConventionTests.Autofac.nuspec -version "%GitVersion_NuGetVersion%" -BasePath TestStack.ConventionTests.Autofac\bin\%CONFIGURATION%
25+
26+
- cmd: appveyor PushArtifact "TestStack.ConventionTests.%GitVersion_NuGetVersion%.nupkg"
27+
- cmd: appveyor PushArtifact "TestStack.ConventionTests.Autofac.%GitVersion_NuGetVersion%.nupkg"

0 commit comments

Comments
 (0)