Add a simple Drone build file to test and build

This commit is contained in:
IamTheFij 2018-04-11 09:04:14 -07:00
parent c84c80b5c7
commit 2c1acab3dc
2 changed files with 11 additions and 1 deletions

10
.drone.yml Normal file
View File

@ -0,0 +1,10 @@
workspace:
base: /app
path: .
pipeline:
build:
image: python:3
commands:
- make test
- make build

View File

@ -11,7 +11,7 @@ test: env
./env/bin/tox ./env/bin/tox
.PHONY: build .PHONY: build
build: test build: env
./env/bin/python setup.py sdist ./env/bin/python setup.py sdist
./env/bin/python setup.py bdist_wheel ./env/bin/python setup.py bdist_wheel