beer/.drone.yml

21 lines
411 B
YAML
Raw Normal View History

2020-02-14 01:06:37 +01:00
kind: pipeline
name: lint
steps:
- name: pylint
image: python:slim
commands:
- "echo \"==> Pylint ...\""
- pip install -r requirements.txt
- pip install pylint
- pylint *.py
- name: dockerlint
image: hadolint/hadolint
commands:
- hadolint --ignore DL3013 Dockerfile # ignore pinning version in pip
- name: w3c validator
image: validator/validator:latest
commands:
- vnu static/*.html