2016-10-12 05:28:48 +03:00
|
|
|
image: python:2.7.12-slim
|
|
|
|
|
2016-10-13 23:03:34 +03:00
|
|
|
cache:
|
|
|
|
paths:
|
|
|
|
- pip-cache
|
|
|
|
|
2016-10-12 05:28:48 +03:00
|
|
|
before_script:
|
2016-10-12 05:46:25 +03:00
|
|
|
- bash ci-scripts/before.sh
|
2016-10-12 05:28:48 +03:00
|
|
|
|
|
|
|
variables:
|
|
|
|
COVERAGE_FILE: .coverage
|
2016-10-13 23:03:34 +03:00
|
|
|
PIP_CACHE_DIR: pip-cache
|
2016-10-12 05:46:25 +03:00
|
|
|
ONE_AUTH: "/tmp/test-one-auth"
|
|
|
|
ONE_XMLRPC: "http://localhost:2633/RPC2"
|
2016-10-12 05:28:48 +03:00
|
|
|
|
|
|
|
pytest:
|
|
|
|
stage: test
|
|
|
|
script:
|
2016-10-12 05:46:25 +03:00
|
|
|
- python setup.py test
|
2016-10-12 05:28:48 +03:00
|
|
|
tags:
|
|
|
|
- docker
|