version: '1.0.0.{build}'

environment:
  COVERALLS_REPO_TOKEN:
    secure: IRUBTX12n3W43fS0cgsX0h4I1fjO8XUxt7gNlDIoCrGMpVSW6BSDscCEwHJEEy57

branches:
  only:
    - master

cache:
  - packages

assembly_info:
  patch: true
  file: AssemblyInfo.cs
  assembly_version: '{version}'
  assembly_file_version: '{version}'
  assembly_informational_version: '{version}-beta1'

before_build:
  - nuget restore

build:
  project: NArchitecture.sln

after_build:
  - nuget pack .\NArchitecture\NArchitecture.csproj 

after_test:
  - cmd: .\coverage.cmd

artifacts:
  - path: '*.nupkg'

deploy:
  provider: nuget
  api_key:
    secure: X8vQ5xQ8M0XuxqyOEgk8m0FZmBaP4uQdsAIIY3A9sL52nJemM7ePTFoBeBR0
  skip_symbols: false
  artifact: /.*\.nupkg/

version: '1.0.0.{build}'

environment:
  COVERALLS_REPO_TOKEN:
    secure: IRUBTX12n3W43fS0cgsX0h4I1fjO8XUxt7gNlDIoCrGMpVSW6BSDscCEwHJEEy57

branches:
  only:
    - master

cache:
  - packages

assembly_info:
  patch: true
  file: AssemblyInfo.cs
  assembly_version: '{version}'
  assembly_file_version: '{version}'
  assembly_informational_version: '{version}-beta1'

before_build:
  - nuget restore

build:
  project: NArchitecture.sln

after_build:
  - nuget pack .\NArchitecture\NArchitecture.csproj 

after_test:
  - cmd: .\coverage.cmd

artifacts:
  - path: '*.nupkg'

deploy:
  provider: nuget
  api_key:
    secure: X8vQ5xQ8M0XuxqyOEgk8m0FZmBaP4uQdsAIIY3A9sL52nJemM7ePTFoBeBR0
  skip_symbols: false
  artifact: /.*\.nupkg/
  on:
    branch: master
    appveyor_repo_tag: true

Deploy only on git tags
Deploy only on git tags
