From a3bc0ddc6e2de1fa2b40b0a2617f1d249e5ebafc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Wed, 26 May 2021 22:18:52 +0200 Subject: [PATCH] add extra pythons to test --- .travis.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ffdcd7d..90dced0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,16 +7,24 @@ before_script: - pip install -r requirements.txt - pip install pytest coverage pytest-cov - 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: include: - stage: test python: "3.8" script: - pytest --cov=./ --cov-report=xml - after_script: - - coverage xml - - coverage report - - ./cc-test-reporter after-build -t coverage.py --exit-code ${TRAVIS_TEST_RESULT} + - stage: test + python: "3.7" + script: + - pytest --cov=./ --cov-report=xml + - stage: test + python: "3.9" + script: + - pytest --cov=./ --cov-report=xml -- GitLab