From d456ae49343067ba57fd0209eed4e8a6383a1279 Mon Sep 17 00:00:00 2001 From: Matt Wala <wala1@illinois.edu> Date: Fri, 17 Feb 2017 01:38:30 -0600 Subject: [PATCH] Initial attempt at CI infrastructure for SymEngine. --- .gitlab-ci.yml | 12 ++++++++++++ .test-py3-requirements.txt | 3 +++ .test-py3.yml | 16 ++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 .test-py3-requirements.txt create mode 100644 .test-py3.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ee07ae4..675732e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,6 +66,18 @@ Python 3.6 POCL: except: - tags +Python 3.5 Conda: + script: + - export SUMPY_NO_CACHE=1 + - CONDA_ENVIRONMENT=.test-py3.yml + - REQUIREMENTS_TXT=.test-py3-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 + Documentation: script: - EXTRA_INSTALL="numpy mako" diff --git a/.test-py3-requirements.txt b/.test-py3-requirements.txt new file mode 100644 index 00000000..01f08662 --- /dev/null +++ b/.test-py3-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-py3.yml b/.test-py3.yml new file mode 100644 index 00000000..b1de4606 --- /dev/null +++ b/.test-py3.yml @@ -0,0 +1,16 @@ +name: py3 +channels: +- inducer +- symengine/label/dev +- conda-forge +- defaults +dependencies: +- git +- conda-forge::numpy +- conda-forge::sympy +- pocl +- islpy +- pyopencl +- python=3.5 +- python-symengine=0.2.0.53.g83912b7=py35_1 +# things not in here: loopy boxtree pymbolic pyfmmlib -- GitLab