File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ jobs :
4+ build :
5+ docker :
6+ - image : milaudem/libgpuarray:0
7+
8+ steps :
9+ - checkout
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
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
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
33+ - store_artifacts :
34+ path : /miniconda/conda-bld/linux-64
You can’t perform that action at this time.
0 commit comments