From 82ad47a02cd12662b272b9d6ff8cea91d2cc14e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Sun, 23 Sep 2018 13:58:06 -0400 Subject: [PATCH] Add Pytest/JUnit/Gitlab integration, Py37 CI --- .gitlab-ci.yml | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cf9fb3b..d0a6c1b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,18 @@ +Python 2.6: + script: + - py_version=2.6 + - 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 + - gfortran + except: + - tags + artifacts: + reports: + junit: test/pytest.xml + Python 2.7: script: - py_version=2.7 @@ -9,6 +24,9 @@ Python 2.7: - gfortran except: - tags + artifacts: + reports: + junit: test/pytest.xml Python 3.5: script: @@ -21,18 +39,24 @@ Python 3.5: - gfortran except: - tags + artifacts: + reports: + junit: test/pytest.xml -Python 2.6: +Python 3.7: script: - - py_version=2.6 + - py_version=3.7 - 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 - gfortran except: - tags + artifacts: + reports: + junit: test/pytest.xml Documentation: script: -- GitLab