.gitlab-ci.yml 223 Bytes
Newer Older
Yoginth's avatar
Yoginth committed
1 2 3 4 5 6 7 8
image: python:latest

cache:
  paths:
    - .cache/pip
    - venv/

stages:
Yoginth's avatar
Yoginth committed
9 10
  - Test
  - Run
Yoginth's avatar
Yoginth committed
11

Yoginth's avatar
Yoginth committed
12 13
Test:
  stage: Test
Yoginth's avatar
Yoginth committed
14 15 16 17
  script:
   - python setup.py sdist
   - pip install dist/*

Yoginth's avatar
Yoginth committed
18 19
Run:
  stage: Run
Yoginth's avatar
Yoginth committed
20
  script:
Yoginth's avatar
Yoginth committed
21
   - python test.py