diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea10c572e03cae4daeb1087517576b0fbedd0139..fd6cf8a0213ee8fe41cf855d7d5063cbdae33f06 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 0000000000000000000000000000000000000000..f21c307c51bdfdc92e0192cd5f60a887a1d3454d --- /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 0000000000000000000000000000000000000000..bf657b153d97c3b6f0a8cc966489eab0e70e02fb --- /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