From 9271d0a23a7cd9e6e5cd250ad0051223a0f3c32e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Sun, 23 Sep 2018 13:39:09 -0400 Subject: [PATCH] Add Pytest/JUnit/Gitlab integration, add Py37 CI --- .gitlab-ci.yml | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 14894b0..c787183 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,25 @@ Python 2.7: - gfortran except: - tags + artifacts: + reports: + junit: test/pytest.xml + +Python 2.7 Apple: + script: + - py_version=2.7 + - EXTRA_INSTALL="numpy mako" + - export PYFMMLIB_BUILD_MODE=setuptools + - 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: + - apple + - python2.7 + except: + - tags + artifacts: + reports: + junit: test/pytest.xml Python 3.6: script: @@ -21,16 +40,21 @@ Python 3.6: - gfortran except: - tags + artifacts: + reports: + junit: test/pytest.xml -Python 2.7 Apple: +Python 3.7: script: - - py_version=2.7 + - py_version=3.7 - EXTRA_INSTALL="numpy mako" - - export PYFMMLIB_BUILD_MODE=setuptools - 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: - - apple - - python2.7 + - python3.7 + - gfortran except: - tags + artifacts: + reports: + junit: test/pytest.xml -- GitLab