Skip to content

Commit 3a72b3f

Browse files
author
abergeron
authored
Merge pull request #521 from abergeron/conda_upload
Upload packages for release automatically.
2 parents 39f9879 + be7a3dc commit 3a72b3f

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.appveyor.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ configuration:
1414
- Release
1515

1616
environment:
17+
BINSTAR_TOKEN:
18+
secure: 4KDgW9K3omzJ/ILWm1ApjsvTjefHJuECRy7nmnvuUul+0gbAYTUm5JanY+X1pccu
19+
1720
matrix:
1821
- CONDA_LOC: "C:\\Miniconda-x64"
1922
- CONDA_LOC: "C:\\Miniconda35-x64"
23+
- CONDA_LOC: "C:\\Miniconda36-x64"
2024

2125
install:
2226
# This breaks conda-build because of git
@@ -38,11 +42,11 @@ test_script:
3842
- cmd: mkdir pkgs
3943
- cmd: xcopy "%CONDA_LOC%"\conda-bld\win-64\pygpu* pkgs\ /Y
4044
- cmd: xcopy "%CONDA_LOC%"\conda-bld\win-64\libgpuarray* pkgs\ /Y
45+
- ps: |
46+
if($env:appveyor_repo_tag -eq 'True') {
47+
anaconda -t $env:BINSTAR_TOKEN upload --user=mila-udem pkgs/* 2>&1
48+
}
4149
4250
artifacts:
4351
- path: pkgs/*
4452
name: "Conda Packages"
45-
46-
#deploy:
47-
# on:
48-
# appveyor_repo_tag: true

conda/libgpuarray/meta.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ build:
1414

1515
requirements:
1616
build:
17-
- m2-git [win]
18-
- git [not win]
1917
- cmake
2018
- mako
2119
- python # version doesn't matter here

0 commit comments

Comments
 (0)