2017-08-10 18:48:24 +03:00
|
|
|
version: '{branch}-{build}'
|
|
|
|
|
|
|
|
clone_depth: 5
|
|
|
|
|
|
|
|
cache:
|
2017-11-04 00:27:44 +03:00
|
|
|
- '%LOCALAPPDATA%\pip\Cache'
|
2017-08-10 18:48:24 +03:00
|
|
|
|
|
|
|
environment:
|
2017-11-04 00:27:44 +03:00
|
|
|
matrix:
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
|
|
PYTHON: "C:\\Python27-x64"
|
|
|
|
PYTHON_VERSION: "2.7"
|
|
|
|
PYTHON_ARCH: "64"
|
2018-10-26 23:36:33 +03:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2018-08-10 19:17:51 +03:00
|
|
|
PYTHON: "C:\\Python35-x64"
|
|
|
|
PYTHON_VERSION: "3.5"
|
|
|
|
PYTHON_ARCH: "64"
|
2018-10-26 23:36:33 +03:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
|
|
PYTHON: "C:\\Python36-x64"
|
|
|
|
PYTHON_VERSION: "3.6"
|
2017-11-04 00:27:44 +03:00
|
|
|
PYTHON_ARCH: "64"
|
2017-08-10 18:48:24 +03:00
|
|
|
|
|
|
|
init:
|
2017-11-04 00:27:44 +03:00
|
|
|
- echo %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%
|
2017-08-10 18:48:24 +03:00
|
|
|
|
|
|
|
install:
|
2018-02-21 18:55:40 +03:00
|
|
|
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
|
|
|
- where pip
|
2018-05-18 19:31:47 +03:00
|
|
|
- "%PYTHON%\\python.exe -m pip install --upgrade --user pip"
|
2018-02-21 18:55:40 +03:00
|
|
|
- pip install --upgrade setuptools wheel
|
2017-11-04 00:27:44 +03:00
|
|
|
- pip install -r requirements.txt
|
2018-01-30 18:55:12 +03:00
|
|
|
- pip install --no-deps -r req_nodeps.txt
|
2019-02-21 18:27:09 +03:00
|
|
|
- pip install flake8==3.6.0
|
2018-02-07 19:55:10 +03:00
|
|
|
- pip list --format=columns --outdated
|
2017-08-10 18:48:24 +03:00
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
test_script:
|
2018-10-26 23:36:33 +03:00
|
|
|
- flake8 --select F,E,W --ignore W504 --statistics shipyard.py convoy\\*.py
|
|
|
|
- IF "%PYTHON_VERSION%" GEQ "3.5" (
|
2019-02-21 18:27:09 +03:00
|
|
|
flake8 --select F,E,W --ignore W504 --statistics cascade\\*.py cargo\\*.py federation\\*.py heimdall\\*.py slurm\\*.py
|
2017-11-04 00:27:44 +03:00
|
|
|
)
|