Compare commits
2 Commits
51f1d330a4
...
25d63f2aee
Author | SHA1 | Date |
---|---|---|
pictuga | 25d63f2aee | |
pictuga | 4a8dca1fbf |
21
.drone.yml
21
.drone.yml
|
@ -2,14 +2,23 @@ kind: pipeline
|
|||
name: default
|
||||
|
||||
steps:
|
||||
- name: isort
|
||||
image: python:alpine
|
||||
commands:
|
||||
- pip install isort
|
||||
- isort --check-only --diff .
|
||||
- name: pylint
|
||||
- name: lint
|
||||
image: alpine
|
||||
commands:
|
||||
- apk add --no-cache python3 py3-lxml py3-pip py3-wheel py3-enchant hunspell-en
|
||||
- isort --check-only --diff .
|
||||
- pip3 install --no-cache-dir .[full] .[dev]
|
||||
- pylint morss --rcfile=.pylintrc --disable=C,R,W --fail-under=8
|
||||
|
||||
- name: pypy
|
||||
image: plugins/pypi
|
||||
settings:
|
||||
username:
|
||||
from_secret: pypy_user
|
||||
password:
|
||||
from_secret: pypy_pwd
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
|
|
Loading…
Reference in New Issue