GitLab ci

This commit is contained in:
jpic 2020-02-13 03:28:31 +01:00
parent be8460b372
commit 482f9203f7

View File

@ -1,13 +1,3 @@
qa:
stage: test
image: yourlabs/python
script: flake8 podctl
test:
stage: test
image: yourlabs/python
script: pip install -e . && py.test -v tests
build: build:
stage: test stage: test
image: yourlabs/podctl image: yourlabs/podctl
@ -17,6 +7,16 @@ build:
- .cache - .cache
key: cache key: cache
qa:
stage: test
image: yourlabs/python
script: flake8 podctl
test:
stage: test
image: yourlabs/python
script: pip install -e . && cd examples && podctl test -d simple
pypi: pypi:
stage: deploy stage: deploy
image: yourlabs/python image: yourlabs/python