From 6499ebd9ef63fef0e3c35b6b26a88ccfc4015c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Sun, 23 Sep 2018 14:04:46 -0400 Subject: [PATCH] Add Pytest/JUnit/Gitlab integration, Py37 CI --- .gitlab-ci.yml | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c3653c0..0193895 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,17 @@ +Python 2.6: + script: + - export PY_EXE=python2.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: - export PY_EXE=python2.7 @@ -8,6 +22,10 @@ Python 2.7: - python2.7 except: - tags + artifacts: + reports: + junit: test/pytest.xml + Python 3.5: script: - export PY_EXE=python3.5 @@ -18,13 +36,20 @@ Python 3.5: - python3.5 except: - tags -Python 2.6: + artifacts: + reports: + junit: test/pytest.xml + +Python 3.7: script: - - export PY_EXE=python2.6 + - export PY_EXE=python3.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 -- GitLab