2018-04-11 16:04:14 +00:00
|
|
|
workspace:
|
|
|
|
base: /app
|
|
|
|
path: .
|
|
|
|
|
|
|
|
pipeline:
|
2018-04-12 01:16:26 +00:00
|
|
|
test:
|
2018-04-11 16:04:14 +00:00
|
|
|
image: python:3
|
|
|
|
commands:
|
2018-04-14 04:25:26 +00:00
|
|
|
- make test-env test
|
2018-04-12 01:16:26 +00:00
|
|
|
push_to_pypi:
|
|
|
|
image: python:3
|
|
|
|
commands:
|
2018-04-14 04:25:26 +00:00
|
|
|
- make build-env upload-test
|
2018-04-12 01:16:26 +00:00
|
|
|
secrets:
|
|
|
|
- source: PYPI_USERNAME
|
|
|
|
target: TWINE_USERNAME
|
|
|
|
- source: PYPI_PASSWORD
|
|
|
|
target: TWINE_PASSWORD
|
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
branch: master
|