mirror of
https://github.com/ppy/osu.git
synced 2024-12-21 08:32:54 +08:00
27 lines
942 B
YAML
27 lines
942 B
YAML
# 2017-09-14
|
|
clone_depth: 1
|
|
version: '{branch}-{build}'
|
|
image: Visual Studio 2017
|
|
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 --depth=5
|
|
- cmd: choco install resharper-clt -y
|
|
- cmd: choco install nvika -y
|
|
- cmd: appveyor DownloadFile https://github.com/peppy/CodeFileSanity/releases/download/v0.2.4/CodeFileSanity.exe
|
|
before_build:
|
|
- cmd: CodeFileSanity.exe
|
|
- cmd: nuget restore -verbosity quiet
|
|
environment:
|
|
TargetFramework: net461
|
|
build:
|
|
project: osu.sln
|
|
parallel: true
|
|
verbosity: minimal
|
|
after_build:
|
|
- cmd: inspectcode --o="inspectcodereport.xml" --projects:osu.Game* --caches-home="inspectcode" osu.sln > NUL
|
|
- cmd: NVika parsereport "inspectcodereport.xml" --treatwarningsaserrors |