| 1 |
# ============================================================================= |
| 2 |
# CI-SERVER CONFIGURATION: behave |
| 3 |
# ============================================================================= |
| 4 |
# OS: Windows |
| 5 |
# SEE ALSO: |
| 6 |
# * http://www.appveyor.com/docs/build-configuration |
| 7 |
# * http://www.appveyor.com/docs/installed-software#python |
| 8 |
# * http://www.appveyor.com/docs/appveyor-yml |
| 9 |
# |
| 10 |
# VALIDATE: appveyor.yml |
| 11 |
# * https://ci.appveyor.com/tools/validate-yaml |
| 12 |
# ============================================================================= |
| 13 |
# https://bootstrap.pypa.io/get-pip.py |
| 14 |
|
| 15 |
version: 1.2.6.dev0.{build}-{branch} |
| 16 |
clone_folder: C:\projects\behave.ci |
| 17 |
# clone_depth: 2 |
| 18 |
# shallow_clone: true |
| 19 |
|
| 20 |
environment: |
| 21 |
PYTHONPATH: ".;%CD%" |
| 22 |
BEHAVE_ROOTDIR_PREFIX: "C:" |
| 23 |
matrix: |
| 24 |
- PYTHON_DIR: C:\Python36-x64 |
| 25 |
PYTHON: C:\Python36-x64\python.exe |
| 26 |
- PYTHON_DIR: C:\Python27-x64 |
| 27 |
PYTHON: C:\Python27-x64\python.exe |
| 28 |
BEHAVE_ROOTDIR_PREFIX: "c:" |
| 29 |
|
| 30 |
# -- TEMPORARILY DISABLED: environment matrix: |
| 31 |
# - PYTHON_DIR: C:\Python35-x64 |
| 32 |
# PYTHON: C:\Python35-x64\python.exe |
| 33 |
# - PYTHON_DIR: C:\Python35 |
| 34 |
# PYTHON: C:\Python35\python.exe |
| 35 |
|
| 36 |
# -- TEMPORARILY DISABLED: environment matrix: |
| 37 |
# - PYTHON_DIR: C:\Python34 |
| 38 |
# - PYTHON_DIR: C:\Python26 |
| 39 |
# - PYTHON_DIR: C:\Python33 |
| 40 |
# - PYTHON_DIR: C:\Python26-x64 |
| 41 |
# - PYTHON_DIR: C:\Python27-x64 |
| 42 |
# - PYTHON_DIR: C:\Python33-x64 |
| 43 |
# - PYTHON_DIR: C:\Python34-x64 |
| 44 |
# - PYTHON_DIR: C:\Python35-x64 |
| 45 |
|
| 46 |
init: |
| 47 |
- cmd: "echo TESTING-WITH %PYTHON_DIR%, %PYTHON%" |
| 48 |
- cmd: "%PYTHON_DIR%\\python.exe --version" |
| 49 |
- cmd: "%PYTHON% --version" |
| 50 |
- cmd: "echo CD=%CD%" |
| 51 |
- cmd: "echo PYTHONPATH=%PYTHONPATH%" |
| 52 |
- cmd: set |
| 53 |
|
| 54 |
# -- TEMPORARILY DISABLED: Python variants discovery |
| 55 |
# - cmd: "@echo AVAILABLE PYTHON VERSIONS" |
| 56 |
# - cmd: "@dir C:\Python*" |
| 57 |
# - path |
| 58 |
|
| 59 |
install: |
| 60 |
- cmd: "%PYTHON_DIR%\\python.exe -m pip install pytest mock PyHamcrest nose" |
| 61 |
- cmd: "%PYTHON_DIR%\\python.exe -m pip install ." |
| 62 |
- cmd: "%PYTHON_DIR%\\python.exe bin/explore_platform_encoding.py" |
| 63 |
|
| 64 |
# NOT-NEEDED: - cmd: "%PYTHON_DIR%\\python.exe -m pip install parse" |
| 65 |
|
| 66 |
build: off |
| 67 |
test_script: |
| 68 |
- cmd: "%PYTHON_DIR%\\Scripts\\py.test.exe test tests" |
| 69 |
- cmd: "%PYTHON_DIR%\\Scripts\\behave.exe -f progress3 --junit features" |
| 70 |
- cmd: "%PYTHON_DIR%\\Scripts\\behave.exe -f progress3 --junit issue.features" |