version: '{branch}-{build}'
build_script:
- ps: >-
    cd src/DarkSkyCore

    dotnet restore

    dotnet build

    cd ../../

    dotnet pack --configuration release -o nupkgs/ src/DarkSkyCore
test_script:
- ps: >-
    cd test/DarkSkyCore.Tests

    dotnet restore

    dotnet build

    dotnet test -class DarkSky.UnitTests.Services.DarkSkyServiceUnitTests

    if($env:APPVEYOR_REPO_TAG -eq "true") { dotnet test -class DarkSky.IntegrationTests.Services.DarkSkyServiceIntegrationTests}

version: '{branch}-{build}'
pull_requests:
  do_not_increment_build_number: true
build_script:
- ps: >-
    cd src/DarkSkyCore

    dotnet restore

    dotnet build


    cd ../../

    dotnet pack --configuration release -o nupkgs/ src/DarkSkyCore
test_script:
- ps: >-
    cd test/DarkSkyCore.Tests

    dotnet restore

    dotnet test
artifacts:
- path: nupkgs/
  name: nuget
deploy:
- provider: NuGet
  server: nuget.org
  api_key:
    secure: YAF0FoHQVDwWAUmD/H8JUYkjiv4baMyRNdTaOgIw/NVMmo9IiYPq1wPOY525ubJG
  artifact: nuget
  on:
    branch: master
    APPVEYOR_REPO_TAG: true
Move everything into yml as it has to be there
Move everything into yml as it has to be there
