mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 20:45:46 +08:00
e727195187
There are many instances we accidentally merge pull requests with outstanding warnings, as the fact warnings exists is not made obvious. This forces all `inspectcode` warnings to an error level.
23 lines
804 B
YAML
23 lines
804 B
YAML
clone_depth: 1
|
|
version: '{branch}-{build}'
|
|
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.2/CodeFileSanity.exe
|
|
before_build:
|
|
- cmd: CodeFileSanity.exe
|
|
- cmd: nuget restore
|
|
build:
|
|
project: osu.sln
|
|
parallel: true
|
|
verbosity: minimal
|
|
after_build:
|
|
- cmd: inspectcode /o="inspectcodereport.xml" /caches-home="inspectcode" osu.sln
|
|
- cmd: NVika parsereport "inspectcodereport.xml" --treatwarningsaserrors |