image: python:latest variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" cache: paths: - .cache/pip - venv/ before_script: - python -V - pip install virtualenv - virtualenv venv - source venv/bin/activate - pip install nml pillow==5.4.1 ply buildnml: script: - nmlc feditownnames.nml - cp LICENSE license.txt - tar cvzf feditownnames.tar.gz feditownnames.grf license.txt readme.txt artifacts: paths: - feditownnames.grf - feditownnames.tar.gz only: - master