From b0e7f8765b5804afa621e34a5fd94212a77cd99c Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Fri, 17 Feb 2017 01:49:33 -0600 Subject: [PATCH] [ci skip] Add py2.7 symengine tests as well. --- .gitlab-ci.yml | 12 ++++++++++++ .test-py2-requirements.txt | 3 +++ .test-py2.yml | 16 ++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 .test-py2-requirements.txt create mode 100644 .test-py2.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 675732e5..913eb8d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,6 +66,18 @@ Python 3.6 POCL: except: - tags +Python 2.7 Conda: + script: + - export SUMPY_NO_CACHE=1 + - CONDA_ENVIRONMENT=.test-py2.yml + - REQUIREMENTS_TXT=.test-py2-requirements.txt + - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project-within-miniconda.sh + - ". ./build-and-test-py-project-within-miniconda.sh" + tags: + - linux + except: + - tags + Python 3.5 Conda: script: - export SUMPY_NO_CACHE=1 diff --git a/.test-py2-requirements.txt b/.test-py2-requirements.txt new file mode 100644 index 00000000..01f08662 --- /dev/null +++ b/.test-py2-requirements.txt @@ -0,0 +1,3 @@ +git+https://github.com/inducer/boxtree +git+https://github.com/inducer/pymbolic +git+https://github.com/inducer/loopy diff --git a/.test-py2.yml b/.test-py2.yml new file mode 100644 index 00000000..1725a66a --- /dev/null +++ b/.test-py2.yml @@ -0,0 +1,16 @@ +name: py2 +channels: +- inducer +- symengine/label/dev +- conda-forge +- defaults +dependencies: +- git +- conda-forge::numpy +- conda-forge::sympy +- pocl +- islpy +- pyopencl +- python=2.7 +- python-symengine=0.2.0.53.g83912b7=py35_1 +# things not in here: loopy boxtree pymbolic pyfmmlib -- GitLab