forked from albumentations-team/albumentations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
26 lines (21 loc) · 924 Bytes
/
.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
build: off
cache:
- '%LOCALAPPDATA%\pip\Cache'
environment:
IMGAUG_NO_CV2_INSTALLED_CHECK: 'TRUE'
matrix:
- PYTHON: 'C:\Python27-x64'
- PYTHON: 'C:\Python35-x64'
PYTORCH_WHEEL: 'https://download.pytorch.org/whl/cpu/torch-1.0.1-cp35-cp35m-win_amd64.whl'
- PYTHON: 'C:\Python36-x64'
PYTORCH_WHEEL: 'https://download.pytorch.org/whl/cpu/torch-1.0.1-cp36-cp36m-win_amd64.whl'
- PYTHON: 'C:\Python37-x64'
PYTORCH_WHEEL: 'https://download.pytorch.org/whl/cpu/torch-1.0.1-cp37-cp37m-win_amd64.whl'
install:
- '%PYTHON%\python.exe -m pip install -U pip wheel setuptools'
- 'if defined PYTORCH_WHEEL %PYTHON%\python.exe -m pip install %PYTORCH_WHEEL% torchvision'
- '%PYTHON%\python.exe -m pip install .[tests]'
- '%PYTHON%\python.exe -m pip install "pydocstyle<4.0.0" flake8 flake8-docstrings'
test_script:
- '%PYTHON%\python.exe -m pytest'
- '%PYTHON%\python.exe -m flake8'