forked from wagtail/wagtail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
39 lines (37 loc) · 937 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
pipeline:
lint_python:
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
- isort --check-only --diff --recursive wagtail
js:
image: node:4.2.4
commands:
- npm install --quiet
- npm run lint
- npm run test:unit
scss-lint:
image: torchbox/scss-lint
commands:
- scss-lint
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
cache:
mount:
- node_modules
- /drone/pip-cache
notify:
slack:
webhook_url: https://hooks.slack.com/services/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
channel: builds
username: drone
when:
success: true
failure: true
change: true