mirror of
https://github.com/nelsond/prologix-gpib-ethernet.git
synced 2024-09-21 02:27:31 +00:00
83334efa7d
* Remove Python 3.4 test * Remove Python 2.7 tests * Upgrade pytest version
64 lines
1.5 KiB
YAML
64 lines
1.5 KiB
YAML
environment:
|
|
matrix:
|
|
- PYTHON: "C:\\Python35"
|
|
PYTHON_VERSION: "3.5.x"
|
|
PYTHON_ARCH: "32"
|
|
|
|
- PYTHON: "C:\\Python35-x64"
|
|
PYTHON_VERSION: "3.5.x"
|
|
PYTHON_ARCH: "64"
|
|
|
|
- PYTHON: "C:\\Python36"
|
|
PYTHON_VERSION: "3.6.x"
|
|
PYTHON_ARCH: "32"
|
|
|
|
- PYTHON: "C:\\Python36-x64"
|
|
PYTHON_VERSION: "3.6.x"
|
|
PYTHON_ARCH: "64"
|
|
|
|
- PYTHON: "C:\\Python37"
|
|
PYTHON_VERSION: "3.7.x"
|
|
PYTHON_ARCH: "32"
|
|
|
|
- PYTHON: "C:\\Python37-x64"
|
|
PYTHON_VERSION: "3.7.x"
|
|
PYTHON_ARCH: "64"
|
|
|
|
- PYTHON: "C:\\Python38"
|
|
PYTHON_VERSION: "3.8.x"
|
|
PYTHON_ARCH: "32"
|
|
|
|
- PYTHON: "C:\\Python38-x64"
|
|
PYTHON_VERSION: "3.8.x"
|
|
PYTHON_ARCH: "64"
|
|
|
|
install:
|
|
- ECHO "Filesystem root:"
|
|
- ps: "ls \"C:/\""
|
|
|
|
- ECHO "Installed SDKs:"
|
|
- ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
|
|
|
|
# Install Python (from the official .msi of http://python.org) and pip when
|
|
# not already installed.
|
|
- ps: if (-not(Test-Path($env:PYTHON))) { & appveyor\install.ps1 }
|
|
|
|
# Prepend newly installed Python to the PATH of this build (this cannot be
|
|
# done from inside the powershell script as it would require to restart
|
|
# the parent CMD process).
|
|
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
|
|
|
# Check that we have the expected version and architecture for Python
|
|
- "python --version"
|
|
|
|
- "ls"
|
|
|
|
- "pip install -r .\\requirements\\dev.txt"
|
|
|
|
build_script:
|
|
- "pip install ."
|
|
|
|
test_script:
|
|
# Run the project tests
|
|
- "py.test -q --cov=plx_gpib_ethernet tests\\"
|