forked from loafle/openapi-generator-original
* Requires python >= 3.5, adds type hints to call_api method * Adds type hints to files_parameters and __call_api * Adds and uses a new json encoded to prepare data before it is sent * Removes nose name from gitlab testing invocations * Also updates travis to py>=3.5 * Collapses encoder back into sanitize_for_serialization
25 lines
434 B
YAML
25 lines
434 B
YAML
# ref: https://docs.gitlab.com/ee/ci/README.html
|
|
|
|
stages:
|
|
- test
|
|
|
|
.tests:
|
|
stage: test
|
|
script:
|
|
- pip install -r requirements.txt
|
|
- pip install -r test-requirements.txt
|
|
- pytest --cov=dynamic_servers
|
|
|
|
test-3.5:
|
|
extends: .tests
|
|
image: python:3.5-alpine
|
|
test-3.6:
|
|
extends: .tests
|
|
image: python:3.6-alpine
|
|
test-3.7:
|
|
extends: .tests
|
|
image: python:3.7-alpine
|
|
test-3.8:
|
|
extends: .tests
|
|
image: python:3.8-alpine
|