forked from artbear/1bdd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
73 lines (49 loc) · 1.61 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
62
63
64
65
66
67
68
69
70
71
72
73
version: 1.2.{build}
pull_requests:
do_not_increment_build_number: true
max_jobs: 1
init:
- ps: Set-WinSystemLocale ru-RU
# appveyor DownloadFile http://oscript.io/downloads/latest/exe -FileName ./oscriptlatest.exe
# dir /w
# oscriptlatest.exe /VERYSILENT /DIR=".\engine\"
# SET PATH=%CD%\engine\bin;%PATH%
# oscript
install:
- cmd: >-
@echo on
git submodule update --init --recursive
set
curl -o %temp%\oscript-setup.exe http://oscript.io/downloads/latest/exe
%temp%\oscript-setup.exe /silent /log="%temp%\oscript-setup.log" /saveinf="%temp%\oscript-setup-settings.txt"
set OSCRIPT=%ProgramFiles(x86)%\OneScript
dir "%OSCRIPT%\bin"
dir "%OSCRIPT%\lib"
rem SET PATH=%CD%\engine\bin;%PATH%
SET PATH=%OSCRIPT%\bin;%PATH%
where oscript
oscript -version
chcp 65001
opm install opm
opm list
opm install 1testrunner
opm install 1commands
opm install 1bdd
opm list
dir "%OSCRIPT%\bin"
dir "%OSCRIPT%\lib"
# to disable automatic builds
build: off
test_script:
- cmd: >-
appveyor-runtests.cmd
pushd %APPVEYOR_BUILD_FOLDER%
after_test:
- ps: # upload results to AppVeyor
- ps: Write-Host "Загружаю результаты тестов на CI"
- ps: $wc = New-Object 'System.Net.WebClient'
- ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\tests\tests.xml))
- ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\tests\bdd-log.xml))
artifacts:
- path: tests\tests.xml
- path: tests\bdd-log.xml