-
-
Notifications
You must be signed in to change notification settings - Fork 391
/
Copy pathappveyor.yml
45 lines (37 loc) · 1.19 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
environment:
matrix:
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python37"
PYTHON_VERSION: "3.7.0"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7.0"
PYTHON_ARCH: "64"
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%USERPROFILE%\\.poetry\\bin;%PATH%"
- "python --version"
# Upgrade to the latest version of pip to avoid it displaying warnings
# about it being out of date.
- "python -m pip install --disable-pip-version-check --user --upgrade pip"
# Setting up enviroment:
- "curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python"
- "poetry install"
build: off
test_script:
- "poetry run flake8 wemake_python_styleguide tests docs"
- "poetry run mypy wemake_python_styleguide"
- "poetry run layer-lint --quiet wemake_python_styleguide"
- "poetry run pytest"
- "poetry run doc8 -q docs"
- "poetry check"
- "pip check"
- "safety check --bare --full-report"
notifications:
- provider: Email
on_build_success: false
on_build_failure: true