diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 675732e53d5c658996b0ea456f4baa219bed6c07..913eb8d030b487841e35b56bf72619391ff2d75f 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 0000000000000000000000000000000000000000..01f08662149acd51177b1f4c3a96d873555a5a9e --- /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 0000000000000000000000000000000000000000..1725a66a4fbe76dfa5155a9e4c1208e326aeddd2 --- /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