forked from Azure/batch-shipyard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
44 lines (37 loc) · 1.07 KB
/
appveyor.yml
File metadata and controls
44 lines (37 loc) · 1.07 KB
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
version: '{branch}-{build}'
clone_depth: 5
cache:
- '%LOCALAPPDATA%\pip\Cache'
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
TOX_ENV: "py37"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8"
PYTHON_ARCH: "64"
TOX_ENV: "py38"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: "C:\\Python39-x64"
PYTHON_VERSION: "3.9"
PYTHON_ARCH: "64"
TOX_ENV: "py39"
init:
- echo %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- python -m pip install -U pip
- where pip
- pip install --upgrade setuptools wheel
- pip install -r requirements.txt
- pip install flake8
- pip list --format=columns --outdated
build: off
test_script:
- flake8 --exit-zero --select F,E,W --ignore W504 --statistics shipyard.py convoy
- IF "%PYTHON_VERSION%" GEQ "3.9" (
flake8 --exit-zero --select F,E,W --ignore W504 --statistics cascade cargo federation heimdall slurm
)