|
1 |
| -## The package attribure specifies a binstar package namespace to build the package to. |
2 |
| -## This can be specified here or on the command line |
3 | 1 | package: conda-build
|
| 2 | +user: conda |
4 | 3 |
|
5 |
| -## You can also specify the account to upload to, |
6 |
| -## you must be an admin of that account, this |
7 |
| -## defaults to your user account |
8 |
| -# user: USERNAME |
9 |
| - |
10 |
| -#=============================================================================== |
11 |
| -# Build Matrix Options |
12 |
| -# Thes options may be a single item, a list or empty |
13 |
| -# The resulting number of builds is [platform * engine * env] |
14 |
| -#=============================================================================== |
15 |
| - |
16 |
| -## The platforms to build on. |
17 |
| -## platform defaults to linux-64 |
18 | 4 | platform:
|
19 |
| - - win-64 |
| 5 | + - linux-32 |
| 6 | + - linux-64 |
20 | 7 | - win-32
|
21 |
| -## The engine are the inital conda packages you want to run with |
| 8 | + - win-64 |
| 9 | + # - osx-64 |
| 10 | + |
22 | 11 | engine:
|
23 | 12 | - python=2
|
24 |
| - - python=3 |
25 |
| -## The env param is an environment variable list |
26 |
| -# env: |
27 |
| -# - MY_ENV=A CC=gcc |
28 |
| -# - MY_ENV=B |
| 13 | + - python=3.3 |
| 14 | + - python=3.4 |
29 | 15 |
|
30 |
| -#=============================================================================== |
31 |
| -# Script options |
32 |
| -# These options may be broken out into the before_script, script and after_script |
33 |
| -# or not, that is up to you |
34 |
| -#=============================================================================== |
35 |
| - |
36 |
| -## Run before the script |
37 |
| -# before_script: |
38 |
| -# - echo "before_script!" |
39 |
| -## Put your main computations here! |
| 16 | +# Can't test on binstar because it needs to be installed in root |
| 17 | +script: |
| 18 | + - conda build --no-test ./conda.recipe/ |
40 | 19 |
|
41 | 20 | install:
|
42 |
| - # Use the provided conda and Python to run the install script. The order of these commands matters. |
43 |
| - - conda install requests |
44 |
| - - set "CONDA_DEFAULT_ENV=" |
45 |
| - - python tests\install_miniconda.py |
46 |
| - |
47 |
| -test: |
48 |
| - - cd tests\test-recipes\metadata |
49 |
| - # This will be effectively a no-op for recipes without bld.bat |
50 |
| - - for /D %%f in (*) do (C:\Users\binstar\conda-build-miniconda\Scripts\conda-build.exe --no-binstar-upload %%~nf) |
51 |
| - |
52 |
| -# script: |
53 |
| -# - echo "This is my binstar build!" |
54 |
| - |
55 |
| -## This will run after the script regardless of the result of script |
56 |
| -## BINSTAR_BUILD_RESULT=[succcess|failure] |
57 |
| -# after_script: |
58 |
| -# - echo "The build was a $BINSTAR_BUILD_RESULT" | tee artifact1.txt |
59 |
| -## This will be run only after a successfull build |
60 |
| -# after_success: |
61 |
| -# - echo "after_success!" |
62 |
| -## This will be run only after a build failure |
63 |
| -# after_failure: |
64 |
| -# - echo "after_failure!" |
65 |
| - |
66 |
| -#=============================================================================== |
67 |
| -# Build Results |
68 |
| -# Build results are split into two categories: artifacts and targets |
69 |
| -# You may omit either key and stiff have a successfull build |
70 |
| -# They may be a string, list and contain any bash glob |
71 |
| -#=============================================================================== |
| 21 | + - conda update --name root --yes --quiet conda-build |
72 | 22 |
|
73 |
| -## Build Targets: Upload these files to your binstar package |
74 |
| -## build targets may be a list of files (globs allows) to upload |
75 |
| -## The special build targets 'conda' and 'pypi' may be used to |
76 |
| -## upload conda builds |
77 |
| -## e.g. conda is an alias for /opt/anaconda/conda-bld/<os-arch>/*.tar.bz2 |
78 |
| -# build_targets: |
79 |
| -# - conda |
| 23 | +build_targets: conda |
0 commit comments