Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Commit

Permalink
Enable tests on appveyor (#252)
Browse files Browse the repository at this point in the history
* adding tests to appveyor's execution

* add build related files to the solution tree

strying to restore everything prior to running to see if it helps

strying PS approach
  • Loading branch information
SeanFeldman authored and ctaggart committed Sep 13, 2017
1 parent 9e652d1 commit b257c1b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
11 changes: 10 additions & 1 deletion SourceLink.sln
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.7
VisualStudioVersion = 15.0.26730.12
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{876D3926-2BE5-40B4-B9D4-1218875A3870}"
ProjectSection(SolutionItems) = preProject
Expand Down Expand Up @@ -45,6 +45,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Embed", "Embed", "{CB177CE6
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SourceLink.Shared", "SourceLink.Shared\SourceLink.Shared.shproj", "{B1B7304A-FB72-435B-920F-B2DC53DA6054}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{853D5303-E7E6-48D5-A480-BB5B34BC9B06}"
ProjectSection(SolutionItems) = preProject
appveyor.yml = appveyor.yml
build.ps1 = build.ps1
EndProjectSection
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
SourceLink.Embed.Shared\SourceLink.Embed.Shared.projitems*{083cd576-0be4-4aac-86d8-00e50c660759}*SharedItemsImports = 13
Expand Down Expand Up @@ -188,4 +194,7 @@ Global
{CB177CE6-ADA8-4017-B5B3-579B72B67B2A} = {07737978-28A8-42A2-A240-A66EF5EC4C5E}
{B1B7304A-FB72-435B-920F-B2DC53DA6054} = {07737978-28A8-42A2-A240-A66EF5EC4C5E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {7623516C-0410-449C-9EFC-84B884102D70}
EndGlobalSection
EndGlobal
17 changes: 16 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
image: Visual Studio 2017

init:
- git config --global core.autocrlf input
- '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"'

clone_depth: 10

before_build:
- cmd: dotnet restore .\SourceLink.sln

build_script:
- ps: |
dotnet --version
.\build.ps1
if ($lastexitcode -ne 0){ exit $lastexitcode }
test: off
test:
assemblies:
only:
- '**\Tests.dll'


test_script:
- ps: dotnet test .\Tests\Tests.csproj

artifacts:
- path: bin\*.nupkg

0 comments on commit b257c1b

Please sign in to comment.