mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-16 15:54:31 +00:00
* python: Add gitlab-ci.mustache It does the same stuff as in the .travis.yml but just for Gitlab CI #5340 - Python .gitlab-ci.yml * python: Run all scripts in bin find bin/ -type f -name 'python*.sh' -exec {} \; Had to update all samples
34 lines
612 B
YAML
34 lines
612 B
YAML
# ref: https://docs.gitlab.com/ee/ci/README.html
|
|
|
|
stages:
|
|
- test
|
|
|
|
.nosetest:
|
|
stage: test
|
|
script:
|
|
- pip install -r requirements.txt
|
|
- pip install nose
|
|
- nosetests
|
|
|
|
nosetest-2.7:
|
|
extends: .nosetest
|
|
image: python:2.7-alpine
|
|
nosetest-3.3:
|
|
extends: .nosetest
|
|
image: python:3.3-alpine
|
|
nosetest-3.4:
|
|
extends: .nosetest
|
|
image: python:3.4-alpine
|
|
nosetest-3.5:
|
|
extends: .nosetest
|
|
image: python:3.5-alpine
|
|
nosetest-3.6:
|
|
extends: .nosetest
|
|
image: python:3.6-alpine
|
|
nosetest-3.7:
|
|
extends: .nosetest
|
|
image: python:3.7-alpine
|
|
nosetest-3.8:
|
|
extends: .nosetest
|
|
image: python:3.8-alpine
|