Skip to content
Snippets Groups Projects
Commit a3bc0ddc authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

add extra pythons to test

parent 7de14532
No related branches found
No related tags found
No related merge requests found
...@@ -7,16 +7,24 @@ before_script: ...@@ -7,16 +7,24 @@ before_script:
- pip install -r requirements.txt - pip install -r requirements.txt
- pip install pytest coverage pytest-cov - pip install pytest coverage pytest-cov
- DEBUG=1 python setup.py install - DEBUG=1 python setup.py install
after_script:
- coverage xml
- coverage report
- ./cc-test-reporter after-build -t coverage.py --exit-code ${TRAVIS_TEST_RESULT}
jobs: jobs:
include: include:
- stage: test - stage: test
python: "3.8" python: "3.8"
script: script:
- pytest --cov=./ --cov-report=xml - pytest --cov=./ --cov-report=xml
after_script: - stage: test
- coverage xml python: "3.7"
- coverage report script:
- ./cc-test-reporter after-build -t coverage.py --exit-code ${TRAVIS_TEST_RESULT} - pytest --cov=./ --cov-report=xml
- stage: test
python: "3.9"
script:
- pytest --cov=./ --cov-report=xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment