Skip to content

Commit

Permalink
- corrections for appveyor.yml deployments
Browse files Browse the repository at this point in the history
- removed some unneeded configs
- updated nuget packages
  • Loading branch information
chcg committed Dec 16, 2017
1 parent 71a3e46 commit 9734783
Show file tree
Hide file tree
Showing 73 changed files with 48,816 additions and 25,357 deletions.
15 changes: 10 additions & 5 deletions Tests/Tests.csproj
Expand Up @@ -59,17 +59,22 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Bogus, Version=15.0.1.0, Culture=neutral, PublicKeyToken=fa1bb3f3f218129a, processorArchitecture=MSIL">
<HintPath>..\packages\Bogus.15.0.1\lib\net40\Bogus.dll</HintPath>
<Reference Include="Bogus, Version=21.0.4.0, Culture=neutral, PublicKeyToken=fa1bb3f3f218129a, processorArchitecture=MSIL">
<HintPath>..\packages\Bogus.21.0.4\lib\net40\Bogus.dll</HintPath>
</Reference>
<Reference Include="Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
<HintPath>..\packages\Castle.Core.4.2.1\lib\net45\Castle.Core.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="Moq, Version=4.0.10827.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL">
<HintPath>..\packages\Moq.4.0.10827\lib\NET40\Moq.dll</HintPath>
<Reference Include="Moq, Version=4.7.145.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL">
<HintPath>..\packages\Moq.4.7.145\lib\net45\Moq.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
Expand Down
7 changes: 4 additions & 3 deletions Tests/packages.config
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Bogus" version="15.0.1" targetFramework="net40" />
<package id="Bogus" version="21.0.4" targetFramework="net462" />
<package id="Castle.Core" version="4.2.1" targetFramework="net462" />
<package id="GitVersionTask" version="3.6.5" targetFramework="net462" developmentDependency="true" />
<package id="Moq" version="4.0.10827" targetFramework="net40" />
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="net462" />
<package id="Moq" version="4.7.145" targetFramework="net462" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net462" />
</packages>
36 changes: 16 additions & 20 deletions appveyor.yml
@@ -1,4 +1,4 @@
version: 1.0.3.{build}
version: 1.2.1.{build}
image: Visual Studio 2017


Expand All @@ -21,10 +21,6 @@ install:
- nuget restore "%APPVEYOR_BUILD_FOLDER%"\CsvQuery\packages.config -PackagesDirectory "%APPVEYOR_BUILD_FOLDER%"\packages


build:
parallel: true # enable MSBuild parallel builds
verbosity: minimal

build_script:
- cd "%APPVEYOR_BUILD_FOLDER%"
- msbuild CsvQuerySolution.sln /m /p:configuration="%configuration%" /p:platform="%platform%" /p:PlatformToolset="%PlatformToolset%" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
Expand All @@ -43,12 +39,12 @@ after_build:
if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v141") {
if($env:PLATFORM -eq "x64"){
$ZipFileName = "CsvQuerySolution_$($env:APPVEYOR_REPO_TAG_NAME)_x64.zip"
$ZipFileName = "CsvQuery_$($env:APPVEYOR_REPO_TAG_NAME)_x64.zip"
7z a $ZipFileName bin\$env:PLATFORM\$env:CONFIGURATION\CsvQuery.dll
}
if($env:PLATFORM -eq "x86"){
$ZipFileName = "CsvQuerySolution_$($env:APPVEYOR_REPO_TAG_NAME)_x86.zip"
7z a $ZipFileName bin\$env:PLATFORM\$env:CONFIGURATION\CsvQuery.dll
$ZipFileName = "CsvQuery_$($env:APPVEYOR_REPO_TAG_NAME)_x86.zip"
7z a $ZipFileName bin\$env:CONFIGURATION\CsvQuery.dll
}
}
Expand All @@ -68,15 +64,15 @@ artifacts:
- path: CsvQuery_*.zip
name: releases

deploy:
provider: GitHub
auth_token:
secure: !!TODO, see https://www.appveyor.com/docs/deployment/github/#provider-settings!!
artifact: releases
draft: false
prerelease: false
force_update: true
on:
appveyor_repo_tag: true
PlatformToolset: v141
configuration: Release
#deploy:
#provider: GitHub
#auth_token:
# secure: !!TODO, see https://www.appveyor.com/docs/deployment/github/#provider-settings!!
#artifact: releases
#draft: false
#prerelease: false
#force_update: true
#on:
# appveyor_repo_tag: true
# PlatformToolset: v141
# configuration: Release
Binary file removed packages/Bogus.15.0.1/Bogus.15.0.1.nupkg
Binary file not shown.
Binary file removed packages/Bogus.15.0.1/lib/net40/Bogus.dll
Binary file not shown.
Binary file removed packages/Bogus.15.0.1/lib/netstandard1.3/Bogus.dll
Binary file not shown.
Binary file added packages/Bogus.21.0.4/Bogus.21.0.4.nupkg
Binary file not shown.
Binary file added packages/Bogus.21.0.4/lib/net40/Bogus.dll
Binary file not shown.

0 comments on commit 9734783

Please sign in to comment.