From c57fd8840dac429082d3a82f696885488aed7df4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Sun, 23 Sep 2018 14:12:54 -0400 Subject: [PATCH] Add Pytest/JUnit/Gitlab integration, Py37 CI --- .gitlab-ci.yml | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f65bdef..1b4fc3e 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: -- GitLab