diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f65bdefe19cf5328bdcf8186baca218feded6cb4..1b4fc3ee859290b41973290b2e465a89e6cb4c1a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,18 @@ +Python 2.6: + script: + - py_version=2.6 + - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh + - export REQUIREMENTS_TXT=requirements.dev.txt + - ". ./build-and-test-py-project.sh" + tags: + - python2.6 + - linux + except: + - tags + artifacts: + reports: + junit: test/pytest.xml + Python 2.7: script: - py_version=2.7 @@ -9,6 +24,9 @@ Python 2.7: - linux except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 3.5: script: @@ -21,6 +39,9 @@ Python 3.5: - linux except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 3.6: script: @@ -33,18 +54,24 @@ Python 3.6: - linux except: - tags + artifacts: + reports: + junit: test/pytest.xml -Python 2.6: +Python 3.7: script: - - py_version=2.6 + - py_version=3.7 - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh - export REQUIREMENTS_TXT=requirements.dev.txt - ". ./build-and-test-py-project.sh" tags: - - python2.6 + - python3.7 - linux except: - tags + artifacts: + reports: + junit: test/pytest.xml Flake8: script: