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
This commit is contained in:
Michael Steinert
2016-01-19 11:03:00 -06:00
parent e70fd9fae5
commit 1e01d28930
+10 -1
View File
@@ -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: