image: Visual Studio 2017

environment:
  COVERALLS_REPO_TOKEN:
    secure: DOSlU041NY0WKjv9njrNqj14CLEzrF4ogZsbvqIXnNLd492oNlQf4dD5yr7TSK/S
  SignClientSecret:
    secure: oR9TMOkkvP/prmXyMT+p6mQhjyw3JDLbuywezBABvXzkvNsdNZgi2yPaHhgaofrb

init:
  - git config --global core.autocrlf input

skip_branch_with_pr: true

skip_tags: true

skip_commits:
  files:
    - '**/*.md'

only_commits:
  files:
    - Ix.NET/**/*
    - '*'

nuget:
  disable_publish_on_pr: true

build_script:
- ps: .\Ix.NET\Source\build-new.ps1

test: off
artifacts:
- path: .\artifacts\*.nupkg
  
deploy:
  provider: NuGet
  server: https://dotnet.myget.org/F/rx/api/v2/package
  on:
    branch: master  
  api_key:
    secure: 5qZfZf9XVtN+h/UHwocrEBZjaZCajJg9fZbLDPigoew1NG7PzWQxMv1kLQJW6eWE
  symbol_server: https://dotnet.myget.org/F/rx/symbols/api/v2/package