forked from loafle/openapi-generator-original
* python: Respect useNose option in generated CI templates Travis and Gitlab CI now use nosetests or pytests depending on the "useNose" option that is passed. * python: Update CI samples They now respect the "useNose" option
18 lines
342 B
YAML
18 lines
342 B
YAML
# ref: https://docs.travis-ci.com/user/languages/python
|
|
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.2"
|
|
- "3.3"
|
|
- "3.4"
|
|
- "3.5"
|
|
- "3.6"
|
|
- "3.7"
|
|
- "3.8"
|
|
# command to install dependencies
|
|
install:
|
|
- "pip install -r requirements.txt"
|
|
- "pip install -r test-requirements.txt"
|
|
# command to run tests
|
|
script: pytest --cov=petstore_api
|