mirror of https://framagit.org/djib/pyfbx
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
561 B
36 lines
561 B
image: python:3.5-slim
|
|
|
|
before_script:
|
|
- python -V
|
|
- pip install virtualenv
|
|
- virtualenv venv
|
|
- source venv/bin/activate
|
|
|
|
stages:
|
|
- build
|
|
- test
|
|
|
|
cache:
|
|
paths:
|
|
- venv/
|
|
- .cache/pip
|
|
|
|
job_build:
|
|
stage: build
|
|
only:
|
|
- dev
|
|
- master
|
|
script:
|
|
- python setup.py build
|
|
- python setup.py -q install
|
|
|
|
job_test:
|
|
stage: test
|
|
only:
|
|
- dev
|
|
- master
|
|
dependencies:
|
|
- job_build
|
|
script:
|
|
- pip install -r requirements-dev.txt
|
|
- pytest -s tests/
|
|
|