batch-shipyard/appveyor.yml

43 строки
1.1 KiB
YAML
Исходник Обычный вид История

version: '{branch}-{build}'
clone_depth: 5
cache:
2017-11-04 00:27:44 +03:00
- '%LOCALAPPDATA%\pip\Cache'
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"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "64"
- 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"
init:
2017-11-04 00:27:44 +03:00
- echo %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%
install:
- "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"
- pip install --upgrade setuptools wheel
2017-11-04 00:27:44 +03:00
- pip install -r requirements.txt
- pip install --no-deps -r req_nodeps.txt
2019-02-21 18:27:09 +03:00
- pip install flake8==3.6.0
- pip list --format=columns --outdated
build: off
test_script:
- 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
)