-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit 'cd27d82b10ebc84e95e8f2c83249488064cdf305'
- Loading branch information
Showing
4 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@chcp 65001 | ||
|
||
"%ProgramFiles(x86)%\OneScript\bin\oscript.exe" -encoding=utf-8 testrunner.os -runall tests xddReportPath tests | ||
|
||
@if %ERRORLEVEL%==2 GOTO good_exit | ||
@if %ERRORLEVEL%==0 GOTO good_exit | ||
|
||
exit /B 1 | ||
|
||
:good_exit | ||
exit /B 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: 1.2.{build} | ||
pull_requests: | ||
do_not_increment_build_number: true | ||
init: | ||
- ps: Set-WinSystemLocale ru-RU | ||
#environment: | ||
# oscript: C:\Program Files (x86)\OneScript\bin\oscript.exe | ||
install: | ||
- cmd: "git submodule update --init --recursive\n\ncurl -o %temp%\\oscript-setup.exe http://oscript.io/downloads/night-build/exe\n\nrem \n%temp%\\oscript-setup.exe /silent /log=\"%temp%\\oscript-setup.log\" /saveinf=\"%temp%\\oscript-setup-settings.txt\"\n\nSET PATH=%PATH%;%ProgramFiles(x86)%\\OneScript\\bin\n\nrem type %temp%\\oscript-setup.log\n\"%ProgramFiles(x86)%\\OneScript\\bin\\oscript.exe\" -version" | ||
# to disable automatic builds | ||
build: off | ||
test_script: | ||
- cmd: appveyor-runtests.cmd | ||
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)) | ||
artifacts: | ||
- path: tests\tests.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
|
||
Описание.Имя("1testrunner") | ||
.Версия("1.1") | ||
.Версия("1.2") | ||
.ЗависитОт("logos") | ||
.ЗависитОт("cmdline") | ||
.ЗависитОт("tempfiles") | ||
.ЗависитОт("v8runner") | ||
.ЗависитОт("strings") | ||
.ВключитьФайл("tests") | ||
.ВключитьФайл("testrunner.os") | ||
.ВключитьФайл("finder.os") | ||
.ВключитьФайл("readme.md") | ||
.ИсполняемыйФайл("testrunner.os"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters