1- configuration : Debug
2- image : Visual Studio 2019
3-
4- version : ' {build}'
5-
6- init :
7- - ps : Update-AppveyorBuild -Version "$($env:ospsuite_version ).$($env:appveyor_build_version)"
8-
9- environment :
10- MIK_TEX_INSTALL_DIR : ' C:\MikTex\'
11-
12- dotnet_csproj :
13- patch : true
14- file : ' **\*.csproj'
15- version : ' $(ospsuite_version ).$(build_number)'
16- assembly_version : ' $(ospsuite_version ).$(build_number)'
17- file_version : ' $(ospsuite_version ).$(build_number)'
18- informational_version : ' $(ospsuite_version ).$(build_number)'
19-
20- clone_depth : 1
21-
22- install :
23- - set PATH=C:\Ruby25\bin;%PATH%
24- - gem install xml-simple
25- - ps : >-
26- (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')
27-
28- Start-Process msiexec.exe -ArgumentList /i, C:\MikTex.msi, /quiet, /qn, /norestart, INSTALLDIR=$env:MIK_TEX_INSTALL_DIR -Wait
29-
30- before_build :
31- - nuget sources add -name bddhelper -source https://ci.appveyor.com/nuget/ospsuite-bddhelper
32- - nuget sources add -name utility -source https://ci.appveyor.com/nuget/ospsuite-utility
33- - nuget sources add -name serializer -source https://ci.appveyor.com/nuget/ospsuite-serializer
34- - nuget sources add -name texreporting -source https://ci.appveyor.com/nuget/ospsuite-texreporting
35- - nuget sources add -name databinding -source https://ci.appveyor.com/nuget/ospsuite-databinding
36- - nuget sources add -name databinding-devexpress -source https://ci.appveyor.com/nuget/ospsuite-databinding-devexpress
37- - nuget sources add -name funcparser -source https://ci.appveyor.com/nuget/ospsuite-funcparser
38- - nuget sources add -name simmodel -source https://ci.appveyor.com/nuget/ospsuite-simmodel
39- - nuget sources add -name cvodes -source https://ci.appveyor.com/nuget/ospsuite-simmodel-solver-cvodes
40- - nuget sources add -name core -source https://ci.appveyor.com/nuget/ospsuite-core
41- - nuget restore
42- - rake "update_go_license[ApplicationStartup.cs, %GO_DIAGRAM_KEY%]"
43-
44- after_build :
45- - rake "create_setup[%APPVEYOR_BUILD_VERSION%, %CONFIGURATION%]"
46- - 7z a setup.zip %APPVEYOR_BUILD_FOLDER%\setup\deploy\*.msi
47- - rake "create_portable_setup[%APPVEYOR_BUILD_VERSION%, %CONFIGURATION%, mobi-portable-setup.zip]"
48-
49- build :
50- verbosity : minimal
51- project : MoBi.sln
52-
53- test :
54- assemblies :
55- - MoBi.Tests.dll
56- - MoBi.UI.Tests.dll
57-
58- on_finish :
59- - ps : Get-ChildItem setup.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
60- - ps : Get-ChildItem .\setup\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
61-
62- skip_commits :
63- files :
1+ configuration : Debug
2+ image : Visual Studio 2019
3+
4+ version : ' {build}'
5+
6+ init :
7+ - ps : Update-AppveyorBuild -Version "$($env:ospsuite_nightly_version ).$($env:appveyor_build_version)"
8+
9+ environment :
10+ MIK_TEX_INSTALL_DIR : ' C:\MikTex\'
11+
12+ dotnet_csproj :
13+ patch : true
14+ file : ' **\*.csproj'
15+ version : ' $(ospsuite_nightly_version ).$(build_number)'
16+ assembly_version : ' $(ospsuite_nightly_version ).$(build_number)'
17+ file_version : ' $(ospsuite_nightly_version ).$(build_number)'
18+ informational_version : ' $(ospsuite_nightly_version ).$(build_number)'
19+
20+ clone_depth : 1
21+
22+ install :
23+ - set PATH=C:\Ruby25\bin;%PATH%
24+ - gem install xml-simple
25+ - ps : >-
26+ (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')
27+
28+ Start-Process msiexec.exe -ArgumentList /i, C:\MikTex.msi, /quiet, /qn, /norestart, INSTALLDIR=$env:MIK_TEX_INSTALL_DIR -Wait
29+
30+ before_build :
31+ - nuget sources add -name bddhelper -source https://ci.appveyor.com/nuget/ospsuite-bddhelper
32+ - nuget sources add -name utility -source https://ci.appveyor.com/nuget/ospsuite-utility
33+ - nuget sources add -name serializer -source https://ci.appveyor.com/nuget/ospsuite-serializer
34+ - nuget sources add -name texreporting -source https://ci.appveyor.com/nuget/ospsuite-texreporting
35+ - nuget sources add -name databinding -source https://ci.appveyor.com/nuget/ospsuite-databinding
36+ - nuget sources add -name databinding-devexpress -source https://ci.appveyor.com/nuget/ospsuite-databinding-devexpress
37+ - nuget sources add -name funcparser -source https://ci.appveyor.com/nuget/ospsuite-funcparser
38+ - nuget sources add -name simmodel -source https://ci.appveyor.com/nuget/ospsuite-simmodel
39+ - nuget sources add -name cvodes -source https://ci.appveyor.com/nuget/ospsuite-simmodel-solver-cvodes
40+ - nuget sources add -name core -source https://ci.appveyor.com/nuget/ospsuite-core
41+ - nuget restore
42+ - rake "update_go_license[ApplicationStartup.cs, %GO_DIAGRAM_KEY%]"
43+
44+ after_build :
45+ - rake "create_setup[%APPVEYOR_BUILD_VERSION%, %CONFIGURATION%]"
46+ - 7z a setup.zip %APPVEYOR_BUILD_FOLDER%\setup\deploy\*.msi
47+ - rake "create_portable_setup[%APPVEYOR_BUILD_VERSION%, %CONFIGURATION%, mobi-portable-setup.zip]"
48+
49+ build :
50+ verbosity : minimal
51+ project : MoBi.sln
52+
53+ test :
54+ assemblies :
55+ - MoBi.Tests.dll
56+ - MoBi.UI.Tests.dll
57+
58+ on_finish :
59+ - ps : Get-ChildItem setup.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
60+ - ps : Get-ChildItem .\setup\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
61+
62+ skip_commits :
63+ files :
6464 - ' *.md'
0 commit comments