From c6bbf2197f066352677115e07a9f8a5c959ef36b Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 19 Aug 2015 14:57:44 +0200 Subject: [PATCH] scripts/conda/: add conda as build_targets --- scripts/conda/.binstar.yml | 1 + scripts/conda/.binstar.yml.default | 67 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 scripts/conda/.binstar.yml.default diff --git a/scripts/conda/.binstar.yml b/scripts/conda/.binstar.yml index 3d000f49..3869749a 100644 --- a/scripts/conda/.binstar.yml +++ b/scripts/conda/.binstar.yml @@ -1 +1,2 @@ package: aubio +build_targets: conda diff --git a/scripts/conda/.binstar.yml.default b/scripts/conda/.binstar.yml.default new file mode 100644 index 00000000..ba10a0c0 --- /dev/null +++ b/scripts/conda/.binstar.yml.default @@ -0,0 +1,67 @@ + +## The package attribute specifies a binstar package namespace to build the package to. +## This can be specified here or on the command line +package: aubio + +## You can also specify the account to upload to, +## you must be an admin of that account, this +## defaults to your user account +# user: USERNAME + +#=============================================================================== +# Build Matrix Options +# These options may be a single item, a list or empty +# The resulting number of builds is [platform * engine * env] +#=============================================================================== + +## The platforms to build on. +## platform defaults to linux-64 +# platform: +# - linux-64 +# - linux-32 +## The engine are the inital conda packages you want to run with +# engine: +# - python=2 +# - python=3 +## The env param is an environment variable list +# env: +# - MY_ENV=A CC=gcc +# - MY_ENV=B + +#=============================================================================== +# Script options +# These options may be broken out into the before_script, script and after_script +# or not, that is up to you +#=============================================================================== + +## Run before the script +# before_script: +# - echo "before_script!" +## Put your main computations here! +script: + - build.sh +## This will run after the script regardless of the result of script +## BINSTAR_BUILD_RESULT=[succcess|failure] +# after_script: +# - echo "The build was a $BINSTAR_BUILD_RESULT" | tee artifact1.txt +## This will be run only after a successful build +# after_success: +# - echo "after_success!" +## This will be run only after a build failure +# after_failure: +# - echo "after_failure!" + +#=============================================================================== +# Build Results +# Build results are split into two categories: artifacts and targets +# You may omit either key and stiff have a successful build +# They may be a string, list and contain any bash glob +#=============================================================================== + +## Build Targets: Upload these files to your binstar package +## build targets may be a list of files (globs allows) to upload +## The special build targets 'conda' and 'pypi' may be used to +## upload conda builds +## e.g. conda is an alias for /opt/anaconda/conda-bld//*.tar.bz2 +# build_targets: +# - conda -- 2.11.0