mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-05 00:05:12 -04:00
41 lines
807 B
YAML
41 lines
807 B
YAML
version: 1.0.{build}
|
|
|
|
image: Visual Studio 2017
|
|
|
|
platform: x64
|
|
|
|
build:
|
|
verbosity: minimal
|
|
|
|
branches:
|
|
except:
|
|
- /.*nist.*/
|
|
- /master-new-.*/
|
|
|
|
init:
|
|
- set PATH="C:\\Python37";"C:\\Python37\Scripts";%PATH%
|
|
|
|
|
|
configuration:
|
|
- Debug
|
|
- DebugDLL
|
|
- Release
|
|
- ReleaseDLL
|
|
|
|
before_test:
|
|
- cmd: >-
|
|
python -m pip install pytest pytest-xdist
|
|
|
|
mkdir %APPVEYOR_BUILD_FOLDER%\test-results\pytest
|
|
|
|
test_script:
|
|
- cmd: >-
|
|
cd %APPVEYOR_BUILD_FOLDER%
|
|
|
|
python -m pytest --verbose --numprocesses=auto --junitxml=test-results\pytest\results.xml
|
|
|
|
after_test:
|
|
- ps: >-
|
|
$wc = New-Object 'System.Net.WebClient'
|
|
|
|
$wc.UploadFile("https://ci.appveyor.com/api/testresults/xunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test-results\pytest\results.xml)) |