diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 15243db2b..0445da68a 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -595,9 +595,15 @@ package_conda: script: - conda activate conda_builder - export GIT_COMMIT=$CI_COMMIT_REF_NAME + # Build Conda Py36 package - conda-build conda_recipe_py36 + # Build Conda Py27 package + - conda-build conda_recipe + # Copy files to local directory for archiving. - mkdir -p conda-bld - cp -r $CONDA_PREFIX/conda-bld/* conda-bld/ + # Don't archive the cache files. + - rm -r conda-bld/linux-64/.cache artifacts: paths: - conda-bld/linux-64/ diff --git a/conda_recipe/meta.yaml b/conda_recipe/meta.yaml index f984d0b86..2d1dc29fd 100644 --- a/conda_recipe/meta.yaml +++ b/conda_recipe/meta.yaml @@ -19,9 +19,11 @@ requirements: - python=2.7 - setuptools - numpy {{ numpy }} + - enum34 # [py<=35] run: - python=2.7 - {{ pin_compatible('numpy') }} + - enum34 # [py<=35] test: imports: