-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
32 lines (27 loc) · 1013 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
27
28
29
30
31
32
platform: x64
clone_depth: 1
environment:
PYTHON: C:\Python37-x64
init:
- SET PATH=%PATH%;%PYTHON%;%PYTHON%\Scripts
- SET PYTHONIOENCODING=utf-8
install:
# pip upgading required, because otherwise AppVeyor failed, compare:
# https://ci.appveyor.com/project/Kristinita/erichek/build/1.0.34
# https://ci.appveyor.com/project/Kristinita/erichek/build/1.0.33
- "%PYTHON%\\python -m pip install --upgrade pip"
# Temporary hack for Gevent:
# https://github.com/getlogbook/logbook/issues/270
# https://github.com/gevent/gevent/issues/1260
- 'pip3 install -U --force-reinstall --no-binary :all: gevent'
# Needs “-U”, because pyroma works incorrect in old setuptools versions:
# https://github.com/regebro/pyroma/issues/16#issuecomment-362795949
# [BUG] Disable pylint_runner:
# https://ci.appveyor.com/project/Kristinita/erichek#L211
- pip3 install -U flake8 pydocstyle pyroma setuptools twine vulture wheel
- pip3 install -r requirements.txt
build_script:
- flake8 .
- pydocstyle
- pyroma -n 10 .
- vulture .