Skip to content
This repository was archived by the owner on Aug 23, 2019. It is now read-only.

Commit 94a8435

Browse files
committed
Replace TeamCity build setup with AppVeyor
1 parent 1f22bbb commit 94a8435

File tree

14 files changed

+61
-264
lines changed

14 files changed

+61
-264
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,5 @@ Backup*/
108108
UpgradeLog*.XML
109109
Distribution/
110110
Specs/
111+
112+
.vscode/

Gemfile

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

Gemfile.lock

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

Machine.Specifications.ConsoleRunner/Outputs/VerboseOutput.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
31
using Machine.Specifications.Runner.Utility;
42

53
namespace Machine.Specifications.ConsoleRunner.Outputs
@@ -50,7 +48,7 @@ public void ContextEnd(ContextInfo context)
5048

5149
public void SpecificationStart(SpecificationInfo specification)
5250
{
53-
_console.Write("» " + specification.Name);
51+
_console.Write(" " + specification.Name);
5452
}
5553

5654
public void Passing(SpecificationInfo specification)

Machine.Specifications.ConsoleRunner/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
using Machine.Specifications.Reporting.Generation.Spark;
1111
using Machine.Specifications.Reporting.Generation.Xml;
1212
using Machine.Specifications.Reporting.Integration;
13-
using Machine.Specifications.Reporting.Integration.AppVeyor;
1413
using Machine.Specifications.Reporting.Integration.TeamCity;
1514
using Machine.Specifications.Runner.Utility;
1615

Machine.Specifications.ConsoleRunner/Properties/AssemblyInfo.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@
2121

2222
[assembly : Guid("c3c1cde1-f517-4ca8-8657-5465be3e1556")]
2323

24-
[assembly : InternalsVisibleTo("Machine.Specifications.ConsoleRunner.Specs")]
24+
[assembly : InternalsVisibleTo("Machine.Specifications.ConsoleRunner.Specs")]
25+
26+
// updated by CI
27+
[assembly: AssemblyVersion("0.1.0.0")]
28+
[assembly: AssemblyInformationalVersion("1.0.*")]

appveyor.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
environment:
2+
nuget_version: '0.10.1-beta1'
3+
nuget_prerelease: true
4+
assembly_version: '0.10.0.0'
5+
6+
deploy:
7+
- provider: GitHub
8+
description: |
9+
* add lines here
10+
11+
on:
12+
appveyor_repo_tag: true
13+
prerelease: $(nuget_prerelease)
14+
15+
release: v$(nuget_version)
16+
auth_token:
17+
secure: VrF5TrpBRN0ims9nJC1LG32O6ga5hsRuGNSufEbatAiIWZ1z68iiCYKZtqnAaT9y
18+
19+
- provider: NuGet
20+
api_key:
21+
secure: R+qirYPrTX9IzJHpRLL6KAV1Lo+vlAnInf6ShiIB2rAGIP28ceJxRAh1jirHE/uD
22+
on:
23+
appveyor_repo_tag: true
24+
25+
pull_requests:
26+
do_not_increment_build_number: true
27+
28+
clone_depth: 5
29+
30+
version: '$(nuget_version)+{build}'
31+
configuration: Release
32+
33+
assembly_info:
34+
patch: true
35+
file: AssemblyInfo.cs
36+
assembly_version: '$(assembly_version)'
37+
assembly_file_version: '$(assembly_version)'
38+
assembly_informational_version: '$(nuget_version)'
39+
40+
before_build:
41+
- cmd: >-
42+
nuget restore
43+
44+
build:
45+
project: Machine.Specifications.Runner.Console.sln
46+
publish_nuget: true
47+
verbosity: minimal
48+
49+
test:
50+
assemblies:
51+
- Machine.Specifications.ConsoleRunner.Specs.dll
52+
53+

build-debug.cmd

Lines changed: 0 additions & 1 deletion
This file was deleted.

build-release.cmd

Lines changed: 0 additions & 1 deletion
This file was deleted.

build.cmd

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

0 commit comments

Comments
 (0)