From 1e01d28930d42afe91883ef5062ef3b3451f7a98 Mon Sep 17 00:00:00 2001 From: Michael Steinert Date: Tue, 19 Jan 2016 11:03:00 -0600 Subject: [PATCH] Improve CI test coverage This change links in a container running [simplepypi][] in order to exercise the upload functionality during CI testing. [simplepypi]: https://github.com/steiza/simplepypi --- .drone.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 034b44c..733af34 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,10 +5,19 @@ build: - GOOS=linux - GOARCH=amd64 - CGO_ENABLED=0 + - DRONE_PYPI_PATH=testdata + - DRONE_PYPI_REPOSITORY=http://localhost:8000 + - DRONE_PYPI_DISTRIBUTIONS=sdist commands: + - apt-get update && apt-get install -y python-setuptools - go get - go build - - go test + - go test -cover + +compose: + simplepypi: + image: msteinert/simplepypi + pull: true publish: docker: