[c6bbf219] | 1 | |
---|
| 2 | ## The package attribute specifies a binstar package namespace to build the package to. |
---|
| 3 | ## This can be specified here or on the command line |
---|
| 4 | package: aubio |
---|
| 5 | |
---|
| 6 | ## You can also specify the account to upload to, |
---|
| 7 | ## you must be an admin of that account, this |
---|
| 8 | ## defaults to your user account |
---|
| 9 | # user: USERNAME |
---|
| 10 | |
---|
| 11 | #=============================================================================== |
---|
| 12 | # Build Matrix Options |
---|
| 13 | # These options may be a single item, a list or empty |
---|
| 14 | # The resulting number of builds is [platform * engine * env] |
---|
| 15 | #=============================================================================== |
---|
| 16 | |
---|
| 17 | ## The platforms to build on. |
---|
| 18 | ## platform defaults to linux-64 |
---|
| 19 | # platform: |
---|
| 20 | # - linux-64 |
---|
| 21 | # - linux-32 |
---|
| 22 | ## The engine are the inital conda packages you want to run with |
---|
| 23 | # engine: |
---|
| 24 | # - python=2 |
---|
| 25 | # - python=3 |
---|
| 26 | ## The env param is an environment variable list |
---|
| 27 | # env: |
---|
| 28 | # - MY_ENV=A CC=gcc |
---|
| 29 | # - MY_ENV=B |
---|
| 30 | |
---|
| 31 | #=============================================================================== |
---|
| 32 | # Script options |
---|
| 33 | # These options may be broken out into the before_script, script and after_script |
---|
| 34 | # or not, that is up to you |
---|
| 35 | #=============================================================================== |
---|
| 36 | |
---|
| 37 | ## Run before the script |
---|
| 38 | # before_script: |
---|
| 39 | # - echo "before_script!" |
---|
| 40 | ## Put your main computations here! |
---|
| 41 | script: |
---|
| 42 | - build.sh |
---|
| 43 | ## This will run after the script regardless of the result of script |
---|
| 44 | ## BINSTAR_BUILD_RESULT=[succcess|failure] |
---|
| 45 | # after_script: |
---|
| 46 | # - echo "The build was a $BINSTAR_BUILD_RESULT" | tee artifact1.txt |
---|
| 47 | ## This will be run only after a successful build |
---|
| 48 | # after_success: |
---|
| 49 | # - echo "after_success!" |
---|
| 50 | ## This will be run only after a build failure |
---|
| 51 | # after_failure: |
---|
| 52 | # - echo "after_failure!" |
---|
| 53 | |
---|
| 54 | #=============================================================================== |
---|
| 55 | # Build Results |
---|
| 56 | # Build results are split into two categories: artifacts and targets |
---|
| 57 | # You may omit either key and stiff have a successful build |
---|
| 58 | # They may be a string, list and contain any bash glob |
---|
| 59 | #=============================================================================== |
---|
| 60 | |
---|
| 61 | ## Build Targets: Upload these files to your binstar package |
---|
| 62 | ## build targets may be a list of files (globs allows) to upload |
---|
| 63 | ## The special build targets 'conda' and 'pypi' may be used to |
---|
| 64 | ## upload conda builds |
---|
| 65 | ## e.g. conda is an alias for /opt/anaconda/conda-bld/<os-arch>/*.tar.bz2 |
---|
| 66 | # build_targets: |
---|
| 67 | # - conda |
---|