forked from Open-Systems-Pharmacology/PK-Sim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor-coverage.yml
57 lines (45 loc) · 2.34 KB
/
appveyor-coverage.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
48
49
50
51
52
53
54
55
56
57
configuration: Debug
image: Visual Studio 2019
environment:
app_version: "9.0"
MIK_TEX_INSTALL_DIR: 'C:\MikTex\'
APPVEYOR_BLOCK_DOTNETCORE_TESTS_AUTORUN: true
version: "$(app_version).{build}"
assembly_info:
patch: true
file: SolutionInfo.*
assembly_version: "{version}"
assembly_file_version: "{version}"
clone_depth: 1
install:
- set PATH=C:\Ruby22\bin;C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- cmd: git submodule update --init --recursive
- ps: >-
(new-object net.webclient).DownloadFile('https://download.microsoft.com/download/A/2/D/A2D8587D-0027-4217-9DAD-38AFDB0A177E/msxml.msi', 'C:\\msxml.msi')
Start-Process msiexec.exe -ArgumentList /i, C:\msxml.msi, /quiet, /qn, /norestart -Wait
- ps: >-
(new-object net.webclient).DownloadFile('https://github.com/Open-Systems-Pharmacology/MiKTeX/releases/download/v2.9.3/MikTex.2.9.3.msi', 'C:\\MikTex.msi')
Start-Process msiexec.exe -ArgumentList /i, C:\MikTex.msi, /quiet, /qn, /norestart, INSTALLDIR=$env:MIK_TEX_INSTALL_DIR -Wait
before_build:
- nuget sources add -name bddhelper -source https://ci.appveyor.com/nuget/ospsuite-bddhelper
- nuget sources add -name utility -source https://ci.appveyor.com/nuget/ospsuite-utility
- nuget sources add -name serializer -source https://ci.appveyor.com/nuget/ospsuite-serializer
- nuget sources add -name texreporting -source https://ci.appveyor.com/nuget/ospsuite-texreporting
- nuget sources add -name databinding -source https://ci.appveyor.com/nuget/ospsuite-databinding
- nuget sources add -name databinding-devexpress -source https://ci.appveyor.com/nuget/ospsuite-databinding-devexpress
- nuget sources add -name funcparser -source https://ci.appveyor.com/nuget/ospsuite-funcparser
- nuget sources add -name simmodel -source https://ci.appveyor.com/nuget/ospsuite-simmodel
- nuget sources add -name cvodes -source https://ci.appveyor.com/nuget/ospsuite-simmodel-solver-cvodes
- nuget sources add -name core -source https://ci.appveyor.com/nuget/ospsuite-core
- nuget install opencover -OutputDirectory packages
- nuget restore
build:
verbosity: minimal
project: PKSim.sln
notifications:
- provider: Slack
incoming_webhook:
secure: 4MH9Em6TtrKalq6808dhPOqypTfYBJvVlqPaa9akNyFEAs8X080yIO8g1FLt3tNfBN4OpeBnkgrXzf7AqNKV5561x7Coux3ByGrHmsL1sCo=
test_script:
- rake cover