From 86c52590fbb6b99337f74b41a9f6587dbdfdd04d Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Wed, 15 Feb 2017 18:33:30 -0600 Subject: [PATCH] Add conda tests to gitlab ci. --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ .test-py2.yml | 12 ++++++++++++ .test-py3.yml | 10 ++++++++++ 3 files changed, 45 insertions(+) create mode 100644 .test-py2.yml create mode 100644 .test-py3.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea10c57..fd6cf8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,18 @@ Python 2.7: except: - tags +Python 2.7 Conda: + script: + - CONDA_ENVIRONMENT=.test-py2.yml + - 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: + - python2.7 + - conda + - symengine + except: + - tags + Python 3.5: script: - py_version=3.5 @@ -22,6 +34,17 @@ Python 3.5: except: - tags +Python 3.5 Conda: + script: + - CONDA_ENVIRONMENT=.test-py3.yml + - 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.sh" + tags: + - python3.5 + - conda + - symengine + except: + Python 2.6: script: - py_version=2.6 diff --git a/.test-py2.yml b/.test-py2.yml new file mode 100644 index 0000000..f21c307 --- /dev/null +++ b/.test-py2.yml @@ -0,0 +1,12 @@ +name: py2 +channels: + - symengine/label/dev + - conda-forge + - defaults +dependencies: + - pexpect + - pytools + - conda-forge::numpy + - conda-forge::sympy + - python=2.7 + - symengine/label/dev::python-symengine=0.2.0.53.g83912b7=py27_1 diff --git a/.test-py3.yml b/.test-py3.yml new file mode 100644 index 0000000..bf657b1 --- /dev/null +++ b/.test-py3.yml @@ -0,0 +1,10 @@ +name: py3 +channels: + - symengine/label/dev + - conda-forge + - defaults +dependencies: + - conda-forge::numpy + - conda-forge::sympy + - python=3.5 + - symengine/label/dev::python-symengine=0.2.0.53.g83912b7=py35_1 -- GitLab