You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
559 B
YAML
34 lines
559 B
YAML
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:
|
|
- 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
|