Skip to content

Commit

Permalink
Updated appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
garywoodfine committed Mar 7, 2019
1 parent 90c9aae commit 28240c1
Showing 1 changed file with 6 additions and 29 deletions.
35 changes: 6 additions & 29 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,7 @@
version: '1.0.{build}'
image: Visual Studio 2017
branches:
only:
- master
init:
# Best practice (Windows line endings different to Unix/Linux)
- cmd: git config --global core.autocrlf true
install:
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v4.0.0/nuget.exe
before_build:
# Display .NET Core version
- cmd: dotnet --version
# Display minimal restore text
- cmd: dotnet restore ./src/Threenine.Map.csproj --verbosity m
build_script:
- cmd: dotnet build ./src/Threenine.Map.csproj -c Release
- cmd: dotnet pack -c Release /p:PackageVersion=1.0.3
test_script:
- cmd: dotnet test "./UnitTests/MapperTests/MapperTests.csproj" -c Release
artifacts:
- path: ./Threenine.Map/bin/Release/*.nupkg
name: NuGet
version: 1.0.{build}

deploy:
- provider: NuGet
server: https://www.nuget.org/
api_key:
secure: mf21OOa1QnyeVLSIaFDmmEj63k0aZ8NkhKIa7YspDZtCMRWfcHYpF/GXnJn3lDv4

build:

publish_nuget: true

verbosity: minimal

0 comments on commit 28240c1

Please sign in to comment.