erc20-demurrage-token

ERC20 token with redistributed continual demurrage
Info | Log | Files | Refs | README

.gitlab-ci.yml (1170B)


      1 # To contribute improvements to CI/CD templates, please follow the Development guide at:
      2 # https://docs.gitlab.com/ee/development/cicd/templates.html
      3 # This specific template is located at:
      4 # https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml
      5 
      6 # Official language image. Look for the different tagged releases at:
      7 # https://hub.docker.com/r/library/python/tags/
      8 image: python:3.8
      9 
     10 # Change pip's cache directory to be inside the project directory since we can
     11 # only cache local items.
     12 variables:
     13   PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
     14 
     15 # Pip's cache doesn't store the python packages
     16 # https://pip.pypa.io/en/stable/reference/pip_install/#caching
     17 #
     18 # If you want to also cache the installed packages, you have to install
     19 # them in a virtualenv and cache it as well.
     20 cache:
     21   paths:
     22     - .cache/pip
     23     - venv/
     24 
     25 before_script:
     26   - cd ./python
     27   - python --version  # For debugging
     28   - pip install virtualenv
     29   - virtualenv venv
     30   - source venv/bin/activate
     31 
     32 test:
     33   script:
     34     - pip install -r requirements.txt -r test_requirements.txt --extra-index-url https://pip.grassrootseconomics.net
     35     - bash run_tests.sh 
     36