From 94560060e3b29279e7a25a84ef631878e905c96c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Wed, 22 Aug 2018 17:36:04 -0400 Subject: [PATCH 1/2] Add Pytest/JUnit/Gitlab integration --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2025842..ff22aa3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,9 @@ Python 2.7: - python2.7 except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 3.5: script: @@ -19,6 +22,9 @@ Python 3.5: - python3.5 except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 2.6: script: @@ -30,6 +36,9 @@ Python 2.6: - python2.6 except: - tags + artifacts: + reports: + junit: test/pytest.xml Flake8: script: -- GitLab From 03640e06f86c37c97e1727311c56c4e0848e2e49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Sun, 23 Sep 2018 13:14:14 -0400 Subject: [PATCH 2/2] Add Py3.7 CI --- .gitlab-ci.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff22aa3..c149186 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 @@ -26,14 +40,14 @@ Python 3.5: 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: -- GitLab