2018-04-20 05:41:57 +00:00
|
|
|
clone_depth: 1
|
|
|
|
version: '{branch}-{build}'
|
2018-06-05 09:52:39 +00:00
|
|
|
image: Visual Studio 2017
|
2018-04-20 05:41:57 +00:00
|
|
|
configuration: Debug
|
2018-07-11 09:25:55 +00:00
|
|
|
cache:
|
|
|
|
- C:\ProgramData\chocolatey\bin -> appveyor.yml
|
|
|
|
- C:\ProgramData\chocolatey\lib -> appveyor.yml
|
2018-04-20 05:41:57 +00:00
|
|
|
install:
|
|
|
|
- cmd: git submodule update --init --recursive --depth=5
|
|
|
|
- cmd: choco install resharper-clt -y
|
|
|
|
- cmd: choco install nvika -y
|
2018-07-31 03:35:33 +00:00
|
|
|
- cmd: dotnet tool install CodeFileSanity --version 0.0.16 --global
|
2018-04-20 05:41:57 +00:00
|
|
|
before_build:
|
2018-07-31 03:50:49 +00:00
|
|
|
- cmd: CodeFileSanity
|
2018-04-20 05:41:57 +00:00
|
|
|
- cmd: nuget restore -verbosity quiet
|
|
|
|
build:
|
|
|
|
project: osu.sln
|
|
|
|
parallel: true
|
|
|
|
verbosity: minimal
|
|
|
|
after_build:
|
|
|
|
- cmd: inspectcode --o="inspectcodereport.xml" --projects:osu.Game* --caches-home="inspectcode" osu.sln > NUL
|
2018-07-11 09:25:55 +00:00
|
|
|
- cmd: NVika parsereport "inspectcodereport.xml" --treatwarningsaserrors
|