.gitlab-ci.yml 525 Bytes
Newer Older
lumi's avatar
lumi committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
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
lumi's avatar
lumi committed
16
  - pip install nml pillow==5.4.1 ply
lumi's avatar
lumi committed
17

18
buildnml:
lumi's avatar
lumi committed
19 20
  script:
    - nmlc feditownnames.nml
21 22
    - cp LICENSE license.txt
    - tar cvzf feditownnames.tar.gz feditownnames.grf license.txt readme.txt
lumi's avatar
lumi committed
23 24
  artifacts:
    paths:
25
      - feditownnames.grf
26
      - feditownnames.tar.gz
lumi's avatar
lumi committed
27
  only:
28
    - master