-
Notifications
You must be signed in to change notification settings - Fork 153
/
.drone.yml
42 lines (39 loc) · 1.02 KB
/
.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
40
41
42
pipeline:
verify-lint:
image: quay.io/presslabs/gitfs-test:3.6
commands:
- pip3 install black
- make verify-lint
test:
image: quay.io/presslabs/gitfs-test:${PYTHON_VERSION}
privileged: true
environment:
- PIP_DOWNLOAD_CACHE=/tmp/pip_download_cache
- PYTHON=${PYTHON_VERSION}
commands:
- chmod 660 /dev/fuse
- echo user_allow_other | tee -a /etc/fuse.conf > /dev/null
- chmod 644 /etc/fuse.conf
- git config --global user.email "[email protected]"
- git config --global user.name "Drone CI"
- make test
volumes:
- /var/cache/apt/:/var/cache/apt/
trigger-docs-build:
image: plugins/downstream
server: https://drone.presslabs.net
fork: true
secrets: [DRONE_TOKEN]
repositories:
- presslabs/docs
when:
branch: master
event: push
matrix:
include:
- PYTHON_VERSION: 2.7
- PYTHON_VERSION: 3.4
- PYTHON_VERSION: 3.5
- PYTHON_VERSION: 3.6
- PYTHON_VERSION: 3.7
- PYTHON_VERSION: 3.8