wagtail/.drone.yml

40 wiersze
937 B
YAML
Czysty Zwykły widok Historia

2017-02-04 14:31:10 +00:00
pipeline:
lint_python:
2016-02-26 11:58:01 +00:00
image: python:3.5
commands:
- XDG_CACHE_HOME=/drone/pip-cache pip install wheel
- XDG_CACHE_HOME=/drone/pip-cache pip install -e .[testing]
- flake8 wagtail
2016-02-26 11:58:01 +00:00
- isort --check-only --diff --recursive wagtail
js:
image: node:4.2.4
2016-01-04 10:28:22 +00:00
commands:
- npm install --quiet
- npm run lint
- npm run test:unit
2016-01-04 10:28:22 +00:00
scss-lint:
image: torchbox/scss-lint
2016-01-04 10:28:22 +00:00
commands:
- scss-lint
2016-01-27 12:14:40 +00: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]
- python -u runtests.py
2016-01-27 12:14:40 +00:00
cache:
mount:
- node_modules
2016-01-27 12:14:40 +00:00
- /drone/pip-cache
2016-02-10 20:27:44 +00: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