Loading .gitlab-ci.yml +13 −12 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ stages: - acceptance - publish image: python:3.7 image: python:3.8 variables: PIP_CACHE_DIR: $CI_PROJECT_DIR/.cache/pip Loading @@ -20,8 +20,11 @@ cache: .unittest: stage: test image: python:$PY_VERSION before_script: - pip install -e .[test] nose2 script: - python setup.py test - nose2 -v -c setup.cfg after_script: - mv .coverage .coverage.$PY_VERSION - mv .unittest.xml .unittest.$PY_VERSION.xml coverage: '/^TOTAL.* ([0-9.]+\%)$/' Loading @@ -34,30 +37,28 @@ cache: reports: junit: .unittest.$PY_VERSION.xml unittest:3.6: unittest:3.8: extends: .unittest variables: PY_VERSION: '3.6' PY_VERSION: '3.8' unittest:3.7: unittest:3.9: extends: .unittest variables: PY_VERSION: '3.7' PY_VERSION: '3.9' unittest:3.8: unittest:3.10: extends: .unittest variables: PY_VERSION: '3.8' # 3.8 not supported yet allow_failure: true PY_VERSION: '3.10-rc' publish:unittests: stage: publish when: always dependencies: &unittests - unittest:3.6 - unittest:3.7 - unittest:3.8 - unittest:3.9 - unittest:3.10 needs: *unittests script: - pip install --upgrade junit2html Loading setup.cfg +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ classifiers = Programming Language :: Python :: 3.8 [options] python_requires = >= 3.6 python_requires = >= 3.8 packages = find: setup_requires = setuptools >= 40.6 Loading Loading
.gitlab-ci.yml +13 −12 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ stages: - acceptance - publish image: python:3.7 image: python:3.8 variables: PIP_CACHE_DIR: $CI_PROJECT_DIR/.cache/pip Loading @@ -20,8 +20,11 @@ cache: .unittest: stage: test image: python:$PY_VERSION before_script: - pip install -e .[test] nose2 script: - python setup.py test - nose2 -v -c setup.cfg after_script: - mv .coverage .coverage.$PY_VERSION - mv .unittest.xml .unittest.$PY_VERSION.xml coverage: '/^TOTAL.* ([0-9.]+\%)$/' Loading @@ -34,30 +37,28 @@ cache: reports: junit: .unittest.$PY_VERSION.xml unittest:3.6: unittest:3.8: extends: .unittest variables: PY_VERSION: '3.6' PY_VERSION: '3.8' unittest:3.7: unittest:3.9: extends: .unittest variables: PY_VERSION: '3.7' PY_VERSION: '3.9' unittest:3.8: unittest:3.10: extends: .unittest variables: PY_VERSION: '3.8' # 3.8 not supported yet allow_failure: true PY_VERSION: '3.10-rc' publish:unittests: stage: publish when: always dependencies: &unittests - unittest:3.6 - unittest:3.7 - unittest:3.8 - unittest:3.9 - unittest:3.10 needs: *unittests script: - pip install --upgrade junit2html Loading
setup.cfg +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ classifiers = Programming Language :: Python :: 3.8 [options] python_requires = >= 3.6 python_requires = >= 3.8 packages = find: setup_requires = setuptools >= 40.6 Loading