File: .appveyor.yml

package info (click to toggle)
theano 1.0.3+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 30,752 kB
  • sloc: python: 141,182; ansic: 9,505; makefile: 259; sh: 214; pascal: 81
file content (42 lines) | stat: -rw-r--r-- 1,201 bytes parent folder | download
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"