|
8 | 8 | steps: |
9 | 9 | - checkout |
10 | 10 | - run: |
11 | | - name: "Checkout Merge Commit" |
12 | | - command: | |
13 | | - if [[ -n "${CIRCLE_PR_NUMBER}" ]] |
14 | | - then |
15 | | - git fetch -u origin "+refs/pull/${CIRCLE_PR_NUMBER}/merge:pr/${CIRCLE_PR_NUMBER}/merge" |
16 | | - git checkout -qf "pr/${CIRCLE_PR_NUMBER}/merge" |
17 | | - fi |
| 11 | + name: "Checkout Merge Commit" |
| 12 | + command: | |
| 13 | + if [[ -n "${CIRCLE_PR_NUMBER}" ]] |
| 14 | + then |
| 15 | + git fetch -u origin "+refs/pull/${CIRCLE_PR_NUMBER}/merge:pr/${CIRCLE_PR_NUMBER}/merge" |
| 16 | + git checkout -qf "pr/${CIRCLE_PR_NUMBER}/merge" |
| 17 | + fi |
18 | 18 | - run: |
19 | | - name: "Build Recipe" |
20 | | - command: | |
21 | | - export GPUARRAY_VERSION=`python -c 'import versioneer; print(versioneer.get_version())'` |
22 | | - conda build --python 2.7 conda |
23 | | - conda build --python 3.5 conda/pygpu |
24 | | - conda build --python 3.6 conda/pygpu |
| 19 | + name: "Build Recipe" |
| 20 | + command: | |
| 21 | + export GPUARRAY_VERSION=`python -c 'import versioneer; print(versioneer.get_version())'` |
| 22 | + conda build --python 2.7 conda |
| 23 | + conda build --python 3.5 conda/pygpu |
| 24 | + conda build --python 3.6 conda/pygpu |
25 | 25 | - run: |
26 | | - name: "Upload Tagged Versions" |
27 | | - command: | |
28 | | - if [[ -n "${CIRCLE_TAG}" ]] |
29 | | - then |
30 | | - anaconda -t $BINSTAR_TOKEN upload --user=mila-udem /miniconda/conda-bld/linux-64/libgpuarray* |
31 | | - anaconda -t $BINSTAR_TOKEN upload --user=mila-udem /miniconda/conda-bld/linux-64/pygpu* |
32 | | - fi |
| 26 | + name: "Upload Tagged Versions" |
| 27 | + command: | |
| 28 | + if [[ -n "${CIRCLE_TAG}" ]] |
| 29 | + then |
| 30 | + anaconda -t $BINSTAR_TOKEN upload --user=mila-udem /miniconda/conda-bld/linux-64/libgpuarray* |
| 31 | + anaconda -t $BINSTAR_TOKEN upload --user=mila-udem /miniconda/conda-bld/linux-64/pygpu* |
| 32 | + fi |
33 | 33 | - store_artifacts: |
34 | | - path: /miniconda/conda-bld/linux-64 |
| 34 | + path: /miniconda/conda-bld/linux-64 |
35 | 35 |
|
36 | 36 | workflows: |
37 | 37 | version: 2 |
|
0 commit comments