python-tuf/appveyor.yml
Joshua Lock d992e8b128 Add python-dateutil to test requirements
tests/test_api.py uses python-dateutil, therefore ensure it is installed
for Travis and AppVeyor.

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-10-21 18:39:25 +01:00

37 lines
771 B
YAML

environment:
matrix:
- PYTHON: "C:\\Python38"
PYTHON_VERSION: 3.8
PYTHON_ARCH: 32
- PYTHON: "C:\\Python37"
PYTHON_VERSION: 3.7
PYTHON_ARCH: 32
- PYTHON: "C:\\Python36"
PYTHON_VERSION: 3.6
PYTHON_ARCH: 32
- PYTHON: "C:\\Python35"
PYTHON_VERSION: 3.5
PYTHON_ARCH: 32
- PYTHON: "C:\\Python27"
PYTHON_VERSION: 2.7
PYTHON_ARCH: 32
init:
- ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%
install:
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
- python -m pip install -U pip setuptools
- pip install -e .
- pip install securesystemslib[crypto,pynacl] python-dateutil
- if %PYTHON_VERSION%==2.7 pip install mock
build: false
test_script:
- cd tests
- python aggregate_tests.py