0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-28 00:17:06 +01:00
wagtail/.drone.yml

44 lines
1.0 KiB
YAML
Raw Normal View History

pipeline:
2016-01-04 11:28:22 +01:00
flake8:
image: python:3.5
2016-01-04 11:28:22 +01:00
commands:
- XDG_CACHE_HOME=/drone/pip-cache pip install flake8
2016-01-04 11:28:22 +01:00
- flake8 wagtail
2016-02-26 12:58:01 +01:00
isort:
image: python:3.5
commands:
- XDG_CACHE_HOME=/drone/pip-cache pip install wheel
- XDG_CACHE_HOME=/drone/pip-cache pip install isort -e .[testing,docs]
- isort --check-only --diff --recursive wagtail
js:
image: node:4.2.4
2016-01-04 11:28:22 +01:00
commands:
- npm install --quiet
- npm run lint
- npm run test:unit
2016-01-04 11:28:22 +01:00
scss-lint:
image: torchbox/scss-lint
2016-01-04 11:28:22 +01:00
commands:
- scss-lint
2016-01-27 13:14:40 +01:00
unittest:
image: python:3.5
commands:
- XDG_CACHE_HOME=/drone/pip-cache pip install wheel
- XDG_CACHE_HOME=/drone/pip-cache pip install -e .[testing,docs]
2016-01-27 13:14:40 +01:00
- python runtests.py
cache:
mount:
- node_modules
2016-01-27 13:14:40 +01:00
- /drone/pip-cache
2016-02-10 21:27:44 +01:00
notify:
slack:
webhook_url: https://hooks.slack.com/services/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
channel: builds
username: drone
when:
success: true
failure: true
change: true