| 1 | # ref: https://docs.travis-ci.com/user/languages/python |
| 2 | language: python |
| 3 | python: |
| 4 | - "3.8" |
| 5 | - "3.9" |
| 6 | - "3.10" |
| 7 | - "3.11" |
| 8 | - "3.12" |
| 9 | # uncomment the following if needed |
| 10 | #- "3.12-dev" # 3.12 development branch |
| 11 | #- "nightly" # nightly build |
| 12 | # command to install dependencies |
| 13 | install: |
| 14 | - "pip install -r requirements.txt" |
| 15 | - "pip install -r test-requirements.txt" |
| 16 | # command to run tests |
| 17 | script: pytest --cov=openapi_client |