2018-04-20 13:41:57 +08:00
|
|
|
clone_depth: 1
|
|
|
|
version: '{branch}-{build}'
|
2018-06-05 17:52:39 +08:00
|
|
|
image: Visual Studio 2017
|
2018-04-20 13:41:57 +08:00
|
|
|
configuration: Debug
|
2018-07-11 17:25:55 +08:00
|
|
|
cache:
|
|
|
|
- C:\ProgramData\chocolatey\bin -> appveyor.yml
|
|
|
|
- C:\ProgramData\chocolatey\lib -> appveyor.yml
|
2018-04-20 13:41:57 +08:00
|
|
|
install:
|
|
|
|
- cmd: git submodule update --init --recursive --depth=5
|
|
|
|
- cmd: choco install resharper-clt -y
|
|
|
|
- cmd: choco install nvika -y
|
2018-07-31 11:35:33 +08:00
|
|
|
- cmd: dotnet tool install CodeFileSanity --version 0.0.16 --global
|
2018-04-20 13:41:57 +08:00
|
|
|
before_build:
|
2018-07-31 11:50:49 +08:00
|
|
|
- cmd: CodeFileSanity
|
2018-04-20 13:41:57 +08: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 17:25:55 +08:00
|
|
|
- cmd: NVika parsereport "inspectcodereport.xml" --treatwarningsaserrors
|