Add Drone configuration

This commit is contained in:
Gergely Polonkai 2018-07-03 09:27:20 +02:00
parent 81d949d708
commit 86f86996f6
1 changed files with 17 additions and 0 deletions

17
.drone.yml Normal file
View File

@ -0,0 +1,17 @@
pipeline:
build:
image: python:3.6.6-alpine3.6
commands:
- apk update
- apk add gcc libffi-dev linux-headers libc-dev
- pip3.6 install -U pip setuptools pipenv
- pipenv install
lint:
image: python:3.6.6-alpine3.6
commands:
- apk update
- apk add gcc libffi-dev linux-headers libc-dev
- pip3.6 install -U pip setuptools pipenv
- pipenv install
- pipenv install --dev
- pipenv run pylint calsocial