forked from Theano/Theano
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
42 lines (34 loc) · 1.17 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '1.0.{build}' # This number doesn't matter.
pull_requests:
do_not_increment_build_number: true
platform:
- x64
clone_folder: C:\projects\theano
environment:
BINSTAR_TOKEN:
secure: Z4ZN29hd1UKw4qUwSlpFk+58Ssa+DfIKSGhN3Wr5uOAsP3dCXrNDl5+ipVdzADFn
CONDA_LOC: "C:\\Miniconda-x64"
MKL_THREADING_LAYER: GNU
install:
# This breaks conda-build because of git
- cmd: rmdir C:\cygwin /s /q
- cmd: call %CONDA_LOC%\Scripts\activate.bat
- cmd: set PYTHONUNBUFFERED=1
- cmd: conda install -n root --yes conda conda-env conda-build anaconda-client
- cmd: conda config --append channels mila-udem
build: off
test_script:
- cmd: for /f "tokens=*" %%i in ('python -c "import versioneer; print(versioneer.get_version())"') do set THEANO_VERSION=%%i
- cmd: echo %THEANO_VERSION%
- cmd: conda build --py 2.7 conda
- cmd: conda build --py 3.5 conda
- cmd: conda build --py 3.6 conda
- cmd: mkdir pkgs
- cmd: xcopy "%CONDA_LOC%"\conda-bld\win-64\theano* pkgs\ /Y
- ps: |
if($env:appveyor_repo_tag -eq 'True') {
cmd /c "anaconda -t $env:BINSTAR_TOKEN upload --user=mila-udem pkgs/* 2>&1"
}
artifacts:
- path: pkgs/*
name: "Conda Packages"