Skip to content

Commit

Permalink
auto nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
lduchosal committed Jan 15, 2019
1 parent 493e596 commit fdfdcec
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,37 @@
version: '2.2.0.{build}'
image: Visual Studio 2017

assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"

build:
project: src/
  publish_nuget: true

branches:
only:
- master

init:
- cmd: git config --global core.autocrlf true

before_build:
- cmd: dotnet --version
- cmd: dotnet clean
- cmd: dotnet restore ./src --verbosity m
- cmd: nuget restore .\src

build_script:
- cmd: dotnet pack ./src/System.Net.IPNetwork
- cmd: dotnet pack -c release ./src/System.Net.IPNetwork
- cmd: dotnet build -c release ./src/System.Net.IPNetwork.ConsoleApplication.NetFramework
- cmd: dotnet build -c release ./src/System.Net.IPNetwork.ConsoleApplication.NetCore

test_script:
- cmd: dotnet test ./src/System.Net.IPNetwork.TestProject.NetCore/System.Net.IPNetwork.TestProject.NetCore.csproj
- vstest.console /logger:Appveyor c:\Projects\ipnetwork\src\System.Net.IPNetwork.TestProject.NetCore\bin\Debug\netcoreapp2.0\System.Net.IPNetwork.TestProject.NetCore.dll

deploy: off

0 comments on commit fdfdcec

Please sign in to comment.