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
|
|
|
|
install:
|
|
|
|
- cmd: git submodule update --init --recursive --depth=5
|
|
|
|
- cmd: choco install resharper-clt -y
|
|
|
|
- cmd: choco install nvika -y
|
2018-05-07 21:08:45 +08:00
|
|
|
- cmd: appveyor DownloadFile https://github.com/peppy/CodeFileSanity/releases/download/v0.2.5/CodeFileSanity.exe
|
2018-04-20 13:41:57 +08:00
|
|
|
before_build:
|
|
|
|
- cmd: CodeFileSanity.exe
|
|
|
|
- cmd: nuget restore -verbosity quiet
|
|
|
|
environment:
|
|
|
|
TargetFramework: net471
|
|
|
|
build:
|
|
|
|
project: osu.sln
|
|
|
|
parallel: true
|
|
|
|
verbosity: minimal
|
|
|
|
after_build:
|
|
|
|
- cmd: inspectcode --o="inspectcodereport.xml" --projects:osu.Game* --caches-home="inspectcode" osu.sln > NUL
|
2017-06-06 21:06:43 +08:00
|
|
|
- cmd: NVika parsereport "inspectcodereport.xml" --treatwarningsaserrors
|