-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
47 lines (39 loc) · 1.21 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: 1.2.{build}
image: Visual Studio 2019
environment:
DANGER_GITHUB_API_TOKEN:
secure: i/HKbZ8JhJ2F2fHquUyevuCCx0nXEbWffqvlIqPfO6jcnfswZoXXqYMtvnN0u72K
cache:
- ReSharperCLT2019.2.2
- packages
- vendor/bundler
install:
- cmd: >-
set PATH=C:\Ruby25-x64\bin;%PATH%
git submodule update --init --recursive
nuget restore
bundle install
- ps: >-
if(![System.IO.Directory]::Exists((pwd).Path + "\ReSharperCLT2019.2.2")){
Invoke-WebRequest -Uri https://download.jetbrains.com/resharper/ReSharperUltimate.2019.2.2/JetBrains.ReSharper.CommandLineTools.2019.2.2.zip -OutFile JetBrains.ReSharper.CommandLineTools.2019.2.2.zip
Expand-Archive JetBrains.ReSharper.CommandLineTools.2019.2.2.zip -DestinationPath ReSharperCLT2019.2.2/
}
before_build:
- cmd: >-
dotnet sln remove iTunesNPPlugin\iTunesNPPlugin.csproj
dotnet sln remove NowPlaying4Mac\NowPlaying4Mac.csproj
build:
project: NowPlayingV2.sln
parallel: true
verbosity: minimal
test:
categories:
except:
- PluginTest
assemblies:
except:
- ReSharperCLT2019.2.2/**/*
after_test:
- ps: >-
./ReSharperCLT2019.2.2/InspectCode.exe -o="report.xml" ./NowPlayingV2.sln
bundle exec danger