Skip to content
This repository was archived by the owner on Jan 12, 2021. It is now read-only.

Commit a245300

Browse files
author
Jochen Parmentier
committed
Replacing travis with Dephell Action
1 parent a9e3825 commit a245300

File tree

5 files changed

+64
-50
lines changed

5 files changed

+64
-50
lines changed

.github/workflows/main.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
pull_request:
6+
branches:
7+
- master
8+
9+
jobs:
10+
pytest:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version:
15+
- "3.6"
16+
- "3.7"
17+
- "3.8"
18+
- pypy3
19+
steps:
20+
- name: Setup Python
21+
uses: actions/setup-python@v2
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Checkout
25+
uses: actions/checkout@v2
26+
- name: Run DepHell
27+
uses: dephell/dephell_action@master
28+
29+
linters:
30+
runs-on: ubuntu-latest
31+
strategy:
32+
matrix:
33+
dephell-env:
34+
- flake8
35+
- typing
36+
steps:
37+
- name: Setup Python
38+
uses: actions/setup-python@v2
39+
with:
40+
python-version: "3.7"
41+
- name: Checkout
42+
uses: actions/checkout@v2
43+
- name: Run DepHell
44+
uses: dephell/dephell_action@master
45+
with:
46+
dephell-env: ${{ matrix.dephell-env }}

.travis.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

appveyor.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@ build: false
55

66
environment:
77
matrix:
8-
- PYTHON: "C:\\Python35-x64"
9-
PYTHON_VERSION: "3.5.x"
10-
ARCH: "64"
11-
WINDOWS_SDK_VERSION: "v7.1"
12-
PLAT_NAME: "win-amd64"
13-
PY_TAG: "cp35"
14-
158
- PYTHON: "C:\\Python36-x64"
169
PYTHON_VERSION: "3.6.x"
1710
ARCH: "64"
@@ -26,6 +19,13 @@ environment:
2619
PLAT_NAME: "win-amd64"
2720
PY_TAG: "cp37"
2821

22+
- PYTHON: "C:\\Python38-x64"
23+
PYTHON_VERSION: "3.8.x"
24+
ARCH: "64"
25+
WINDOWS_SDK_VERSION: "v7.1"
26+
PLAT_NAME: "win-amd64"
27+
PY_TAG: "cp38"
28+
2929
init:
3030
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
3131

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[tool.dephell.main]
22
from = {format = "poetry", path = "pyproject.toml"}
33
to = {format = "setuppy", path = "setup.py"}
4+
tag = "v."
45

56
[tool.dephell.flake8]
67
from = {format = "pip", path = "requirements-flake.txt"}
@@ -38,5 +39,5 @@ classifiers = [
3839
]
3940

4041
[tool.poetry.dependencies]
41-
python = ">=3.5"
42-
attrs = "*"
42+
python = ">=3.6"
43+
attrs = "*"

requirements-flake.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
flake8
22

3+
flake8-comprehensions # https://github.com/adamchainz/flake8-comprehensions
34
flake8-alfred # https://github.com/datatheorem/flake8-alfred
45
flake8-blind-except # https://github.com/elijahandrews/flake8-blind-except
5-
flake8-broken-line # https://github.com/sobolevn/flake8-broken-line
66
flake8-bugbear # https://github.com/PyCQA/flake8-bugbear
77
flake8-commas # https://github.com/PyCQA/flake8-commas
8-
flake8-comprehensions # https://github.com/adamchainz/flake8-comprehensions
98
flake8-debugger # https://github.com/JBKahn/flake8-debugger
109
flake8-logging-format # https://github.com/globality-corp/flake8-logging-format
1110
flake8-mutable # https://github.com/ebeweber/flake8-mutable
@@ -14,3 +13,10 @@ flake8-quotes # https://github.com/zheller/flake8-quotes
1413
flake8-tidy-imports # https://github.com/adamchainz/flake8-tidy-imports
1514
flake8-variables-names # https://github.com/best-doctor/flake8-variables-names
1615
pep8-naming # https://github.com/PyCQA/pep8-naming
16+
17+
18+
# flake8-string-format # https://github.com/xZise/flake8-string-format
19+
# disabled: https://github.com/xZise/flake8-string-format/issues/16
20+
21+
# flake8-broken-line # https://github.com/sobolevn/flake8-broken-line
22+
# disabled: https://github.com/sobolevn/flake8-broken-line/issues/38

0 commit comments

Comments
 (0)