mirror of
https://github.com/drone-plugins/drone-pypi.git
synced 2026-06-04 10:15:06 +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
|
||||
- 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:
|
||||
|
||||
Reference in New Issue
Block a user