2017-09-14 11:58:32 +08:00
|
|
|
# 2017-09-14
|
2017-03-08 14:51:27 +08:00
|
|
|
clone_depth: 1
|
|
|
|
version: '{branch}-{build}'
|
2017-10-16 00:25:58 +08:00
|
|
|
image: Visual Studio 2017
|
2017-03-08 14:51:27 +08:00
|
|
|
configuration: Debug
|
|
|
|
cache:
|
|
|
|
- C:\ProgramData\chocolatey\bin -> appveyor.yml
|
|
|
|
- C:\ProgramData\chocolatey\lib -> appveyor.yml
|
|
|
|
- inspectcode -> appveyor.yml
|
|
|
|
- packages -> **\packages.config
|
|
|
|
install:
|
2017-11-29 00:51:22 +08:00
|
|
|
- cmd: git submodule update --init --recursive --depth=5
|
2017-03-08 14:51:27 +08:00
|
|
|
- cmd: choco install resharper-clt -y
|
|
|
|
- cmd: choco install nvika -y
|
2018-02-12 10:40:24 +08:00
|
|
|
- cmd: appveyor DownloadFile https://github.com/peppy/CodeFileSanity/releases/download/v0.2.4/CodeFileSanity.exe
|
2017-03-08 14:51:27 +08:00
|
|
|
before_build:
|
|
|
|
- cmd: CodeFileSanity.exe
|
2017-11-29 11:27:18 +08:00
|
|
|
- cmd: nuget restore -verbosity quiet
|
2017-03-08 14:51:27 +08:00
|
|
|
build:
|
|
|
|
project: osu.sln
|
|
|
|
parallel: true
|
|
|
|
verbosity: minimal
|
|
|
|
after_build:
|
2017-11-29 11:27:18 +08:00
|
|
|
- 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
|