build: stage: test image: yourlabs/podctl script: pip install . && CACHE_DIR=$(pwd)/.cache podctl build -d cache: paths: - .cache key: cache py-test: stage: test image: yourlabs/python script: pip install -e . && py.test -s pod-test: stage: test image: yourlabs/python script: pip install -e . && examples/simple && podctl test -d . pypi: stage: deploy image: yourlabs/python script: pypi-release only: [tags]