mirror of
https://github.com/drone-plugins/drone-pypi.git
synced 2026-06-04 18:24:00 +08:00
Merge pull request #5 from msteinert/ci-coverage
Improve CI test coverage
This commit is contained in:
+10
-1
@@ -5,10 +5,19 @@ build:
|
|||||||
- GOOS=linux
|
- GOOS=linux
|
||||||
- GOARCH=amd64
|
- GOARCH=amd64
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
|
- DRONE_PYPI_PATH=testdata
|
||||||
|
- DRONE_PYPI_REPOSITORY=http://localhost:8000
|
||||||
|
- DRONE_PYPI_DISTRIBUTIONS=sdist
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update && apt-get install -y python-setuptools
|
||||||
- go get
|
- go get
|
||||||
- go build
|
- go build
|
||||||
- go test
|
- go test -cover
|
||||||
|
|
||||||
|
compose:
|
||||||
|
simplepypi:
|
||||||
|
image: msteinert/simplepypi
|
||||||
|
pull: true
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
docker:
|
docker:
|
||||||
|
|||||||
Reference in New Issue
Block a user