py-test: stage: test image: yourlabs/python-arch script: - pacman -Syu --noconfirm geckodriver firefox - pip install selenium - pip install https://github.com/pytest-dev/pytest-splinter/archive/master.tar.gz - python serve.py & - py.test -sv --splinter-headless pages: stage: deploy image: node:alpine script: - sed -i 's@@@' index.html - mkdir public - mv index.html autocomplete-light.js autocomplete-light.css public/ artifacts: paths: - public only: refs: - master pypi: image: yourlabs/python stage: deploy script: pypi-release only: [tags]