forked from Azure/batch-shipyard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
46 lines (39 loc) · 1.21 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: '{branch}-{build}'
clone_depth: 5
cache:
- '%LOCALAPPDATA%\pip\Cache'
environment:
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:\\Python34-x64"
PYTHON_VERSION: "3.4"
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"
PYTHON_ARCH: "64"
init:
- echo %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- where pip
- "%PYTHON%\\python.exe -m pip install --upgrade --user pip"
- pip install --upgrade setuptools wheel
- pip install -r requirements.txt
- pip install --no-deps -r req_nodeps.txt
- pip install flake8
- 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" (
flake8 --select F,E,W --ignore W504 --statistics cascade\\*.py cargo\\*.py federation\\*.py heimdall\\*.py
)