osu/appveyor.yml

29 lines
966 B
YAML
Raw Normal View History

# 2017-09-14
2017-03-08 06:51:27 +00:00
clone_depth: 1
version: '{branch}-{build}'
2017-10-15 16:25:58 +00:00
image: Visual Studio 2017
2017-03-08 06:51:27 +00: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-28 16:51:22 +00:00
- cmd: git submodule update --init --recursive --depth=5
2017-03-08 06:51:27 +00:00
- cmd: choco install resharper-clt -y
- cmd: choco install nvika -y
2018-02-12 02:40:24 +00:00
- cmd: appveyor DownloadFile https://github.com/peppy/CodeFileSanity/releases/download/v0.2.4/CodeFileSanity.exe
2017-03-08 06:51:27 +00:00
before_build:
- cmd: CodeFileSanity.exe
2017-11-29 03:27:18 +00:00
- cmd: nuget restore -verbosity quiet
2017-03-08 06:51:27 +00:00
build:
project: osu.sln
parallel: true
verbosity: minimal
test:
assemblies:
only:
- 'osu.Desktop\**\*.dll'
2017-03-08 06:51:27 +00:00
after_build:
2017-11-29 03:27:18 +00:00
- cmd: inspectcode --o="inspectcodereport.xml" --projects:osu.Game* --caches-home="inspectcode" osu.sln > NUL
- cmd: NVika parsereport "inspectcodereport.xml" --treatwarningsaserrors