-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
61 lines (41 loc) · 1.31 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: 1.0.6-{build}
image: Visual Studio 2017
environment:
main_project: MailComponent
init:
- ps: Set-WinSystemLocale ru-RU
- ps: Start-Sleep -s 5
- ps: Restart-Computer
install:
- cmd: >-
cd ..
mkdir engine
cd engine
appveyor DownloadFile http://oscript.io/downloads/latest/exe -FileName os.exe
os.exe /silent
set PATH=%ProgramFiles(x86)%\OneScript\bin;%PATH%
cd ..
appveyor DownloadFile https://github.com/dmpas/OneScriptDocumenter/releases/download/1.0.13/documenter.zip -FileName OneScriptDocumenter.zip
7z x OneScriptDocumenter.zip > NUL
oscript -version
opm install opm
cd %APPVEYOR_BUILD_FOLDER%
before_build:
- cmd: >-
nuget restore
build:
verbosity: minimal
configuration: Release
test_script:
- cmd: nunit3-console --x86 NUnitTests\bin\%CONFIGURATION%\NUnitTests.dll
after_build:
- cmd: >-
mkdir bin
..\OneScriptDocumenter.exe json bin\syntaxHelp.json %main_project%\bin\%CONFIGURATION%\%main_project%.dll
del %main_project%\bin\%CONFIGURATION%\*.pdb
del %main_project%\bin\%CONFIGURATION%\ScriptEngine*.* %main_project%\bin\%CONFIGURATION%\NewtonSoft*.* %main_project%\bin\%CONFIGURATION%\DotNetZip*.*
xcopy %main_project%\bin\%CONFIGURATION%\* bin\
opm build .
artifacts:
- path: .\*.ospx
name: component