From 8b2026c14670c7f24995fc9ad4b1b1fa71a640ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Sun, 23 Sep 2018 14:07:32 -0400 Subject: [PATCH] Add Pytest/JUnit/Gitlab integration, Py37 CI --- .gitlab-ci.yml | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7c07058..a4a5134 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,17 @@ +Python 2.6: + script: + - py_version=2.6 + - export EXTRA_INSTALL="numpy" + - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh + - ". ./build-and-test-py-project.sh" + tags: + - python2.6 + except: + - tags + artifacts: + reports: + junit: test/pytest.xml + Python 2.7: script: - py_version=2.7 @@ -8,6 +22,9 @@ Python 2.7: - python2.7 except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 3.5: script: @@ -19,17 +36,23 @@ Python 3.5: - python3.5 except: - tags + artifacts: + reports: + junit: test/pytest.xml -Python 2.6: +Python 3.7: script: - - py_version=2.6 + - py_version=3.7 - export EXTRA_INSTALL="numpy" - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh - ". ./build-and-test-py-project.sh" tags: - - python2.6 + - python3.7 except: - tags + artifacts: + reports: + junit: test/pytest.xml Flake8: script: -- GitLab