onedns/.gitlab-ci.yml

34 lines
559 B
YAML
Raw Normal View History

stages:
- test
- build
pytest:
stage: test
image: python:2.7.12-slim
cache:
paths:
- pip-cache
before_script:
- ci-scripts/before.sh
variables:
COVERAGE_FILE: .coverage
PIP_CACHE_DIR: pip-cache
ONE_AUTH: "/tmp/test-one-auth"
ONE_XMLRPC: "http://localhost:2633/RPC2"
script:
2016-10-12 05:46:25 +03:00
- python setup.py test
tags:
- docker
- docker-build
build_image:
stage: build
image: docker:git
variables:
GODEBUG: 'netdns=cgo'
script:
- ci-scripts/build-image.sh
tags:
- docker
- docker-build