# 2017-09-14
clone_depth: 1
version: '{build}'
image: Visual Studio 2017 preview
configuration: Debug
cache:
  - C:\ProgramData\chocolatey\bin -> appveyor.yml
  - C:\ProgramData\chocolatey\lib -> appveyor.yml
  - inspectcode -> appveyor.yml
  - packages -> **\packages.config
install:
  - cmd: git submodule update --init --recursive
  - cmd: choco install resharper-clt -y
  - cmd: choco install nvika -y
  - cmd: appveyor DownloadFile https://github.com/peppy/CodeFileSanity/releases/download/v0.2.5/CodeFileSanity.exe
before_build:
  - cmd: CodeFileSanity.exe
  - cmd: nuget restore
environment:
  TargetFramework: net471
build:
  publish_nuget: true
  project: osu-framework.sln
  parallel: true
  verbosity: minimal
after_build:
  - cmd: inspectcode /o="inspectcodereport.xml" /caches-home="inspectcode" osu-framework.sln
  - cmd: NVika parsereport "inspectcodereport.xml" --treatwarningsaserrors
# 2017-09-14
clone_depth: 1
version: '{build}'
image: Visual Studio 2017 preview
configuration: Debug
cache:
  - C:\ProgramData\chocolatey\bin -> appveyor.yml
  - C:\ProgramData\chocolatey\lib -> appveyor.yml
  - inspectcode -> appveyor.yml
  - packages -> **\packages.config
install:
  - cmd: git submodule update --init --recursive
  - cmd: choco install resharper-clt -y
  - cmd: choco install nvika -y
  - cmd: appveyor DownloadFile https://github.com/peppy/CodeFileSanity/releases/download/v0.2.5/CodeFileSanity.exe
before_build:
  - cmd: CodeFileSanity.exe
  - cmd: nuget restore
environment:
  TargetFramework: net471
build:
  project: osu-framework.sln
  parallel: true
  verbosity: minimal
after_build:
  - cmd: inspectcode /o="inspectcodereport.xml" /caches-home="inspectcode" osu-framework.sln
  - cmd: NVika parsereport "inspectcodereport.xml" --treatwarningsaserrors
  - cmd: dotnet pack osu.Framework --include-symbols /p:Version=0.0.%APPVEYOR_BUILD_VERSION%
  
Package nuget manually in order to get a sane version number (and symbols)
Package nuget manually in order to get a sane version number (and symbols)

