Skip to content

Commit

Permalink
Build long prefix package using conda-build 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhelmus committed Dec 3, 2016
1 parent 78d969f commit 4d7a954
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .travis.yml
Expand Up @@ -36,7 +36,14 @@ install:
conda install --yes --quiet conda-forge-build-setup
source run_conda_forge_build_setup
# install conda-build 2.x to build with a long prefix
conda install --yes --quiet conda-build=2
conda info
script:
- conda build ./recipe

- upload_or_check_non_existence ./recipe conda-forge --channel=main

# inspect the prefix lengths of the built packages
- conda inspect prefix-lengths /Users/travis/miniconda3/conda-bld/osx-64/*.tar.bz2
7 changes: 7 additions & 0 deletions ci_support/run_docker_build.sh
Expand Up @@ -41,6 +41,10 @@ conda clean --lock
conda install --yes --quiet conda-forge-build-setup
source run_conda_forge_build_setup
# install conda-build 2.x to build a long prefix
conda install --yes --quiet conda-build=2
conda info
# Embarking on 3 case(s).
set -x
export CONDA_PY=27
Expand All @@ -59,4 +63,7 @@ source run_conda_forge_build_setup
set +x
conda build /recipe_root --quiet || exit 1
upload_or_check_non_existence /recipe_root conda-forge --channel=main || exit 1
# inspect the prefix lengths of the built packages
conda inspect prefix-lengths /feedstock_root/build_artefacts/linux-64/*.tar.bz2
EOF
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Expand Up @@ -11,7 +11,7 @@ source:

build:
skip: true # [win]
number: 0
number: 1
detect_binary_files_with_prefix: true

requirements:
Expand Down

0 comments on commit 4d7a954

Please sign in to comment.